diff options
| author | Thomas E. Dickey <dickey@invisible-island.net> | 2021-01-03 00:40:43 +0000 |
|---|---|---|
| committer | Thomas E. Dickey <dickey@invisible-island.net> | 2021-01-03 00:40:43 +0000 |
| commit | d27cb6a6d54843e3b3477d3474a9466b6f2fbf95 (patch) | |
| tree | 253d47f21a37e379d8c9af1ded57e98e0d985d3b | |
| parent | dba3a98fd307e9b0773e57206f0856a7f611a150 (diff) | |
| download | lynx-snapshots-d27cb6a6d54843e3b3477d3474a9466b6f2fbf95.tar.gz | |
snapshot of project "lynx", label v2-9-0dev_6b
| -rw-r--r-- | CHANGES | 5 | ||||
| -rw-r--r-- | COPYHEADER | 4 | ||||
| -rw-r--r-- | COPYHEADER.asc | 6 | ||||
| -rw-r--r-- | PACKAGE/debian/copyright | 4 | ||||
| -rw-r--r-- | PACKAGE/lynx.iss | 4 | ||||
| -rw-r--r-- | PACKAGE/lynx.nsi | 4 | ||||
| -rw-r--r-- | aclocal.m4 | 698 | ||||
| -rwxr-xr-x | configure | 18759 | ||||
| -rw-r--r-- | configure.in | 162 | ||||
| -rw-r--r-- | src/LYIcon.rc | 4 | ||||
| -rw-r--r-- | userdefs.h | 4 |
11 files changed, 9888 insertions, 9766 deletions
@@ -1,10 +1,11 @@ --- $LynxId: CHANGES,v 1.1059 2020/11/26 22:37:55 tom Exp $ +-- $LynxId: CHANGES,v 1.1061 2021/01/02 11:52:55 tom Exp $ =============================================================================== Changes since Lynx 2.8 release =============================================================================== -2020-12-26 (2.9.0dev.7) +2021-01-02 (2.9.0dev.7) * configure-script improvements -TD + + various quoting/escaping fixes suggested by shellcheck. + improve configure script workaround for unwanted -Werror=implicit-function-declaration by clang + add "darwin" (macOS) to list of case-insensitive filesystems @@ -1,4 +1,4 @@ -Copyright 1997-2019,2020 Thomas E. Dickey +Copyright 1997-2020,2021 Thomas E. Dickey This copyright notice must be included in all copies or substantial portions of Lynx. It outlines rights and restrictions for Lynx which @@ -80,5 +80,5 @@ For reference, below is the original copyright notice for Lynx (2.4.2). */ ------------------------------------------------------------------------------ -- vile:txtmode fc=72 noti --- $LynxId: COPYHEADER,v 1.18 2020/01/21 22:24:54 tom Exp $ +-- $LynxId: COPYHEADER,v 1.19 2021/01/01 14:53:41 tom Exp $ ------------------------------------------------------------------------------ diff --git a/COPYHEADER.asc b/COPYHEADER.asc index 048377d5..27275089 100644 --- a/COPYHEADER.asc +++ b/COPYHEADER.asc @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNATURE----- Comment: See https://invisible-island.net/public/public.html for info -iF0EABECAB0WIQTFIEjAwHSP7iJ9R6JwI1Pg9+SO2wUCXid6ygAKCRBwI1Pg9+SO -201MAJ95HgaRy9iwJmAK2WO9HGdeRA/A5gCcC+QhwfRMIoUkyxWb5aDmcSHn8rA= -=JF7r +iF0EABECAB0WIQTFIEjAwHSP7iJ9R6JwI1Pg9+SO2wUCX+833QAKCRBwI1Pg9+SO +24eAAJ9X/l9dTUWxDSApBTxOu92ly/y5zgCgyxoyj2tgLLtoPpdDCS28KhVjAF0= +=jRtP -----END PGP SIGNATURE----- diff --git a/PACKAGE/debian/copyright b/PACKAGE/debian/copyright index b10b807c..f02fb404 100644 --- a/PACKAGE/debian/copyright +++ b/PACKAGE/debian/copyright @@ -4,7 +4,7 @@ Current maintainer: Thomas Dickey <dickey@invisible-island.net> ------------------------------------------------------------------------------- -Copyright 1997-2019,2020 Thomas E. Dickey +Copyright 1997-2020,2021 Thomas E. Dickey Copyright (C) 1995 University of Kansas. Most of the content of the lynx release (and corresponding copyright) is @@ -26,7 +26,7 @@ or to the maintainer (Thomas E. Dickey): Files: aclocal.m4 License: other-BSD -Copyright: 1997-2019,2020 by Thomas E. Dickey +Copyright: 1997-2020,2021 by Thomas E. Dickey Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that diff --git a/PACKAGE/lynx.iss b/PACKAGE/lynx.iss index 5b3d2300..a8143d78 100644 --- a/PACKAGE/lynx.iss +++ b/PACKAGE/lynx.iss @@ -1,4 +1,4 @@ -; $LynxId: lynx.iss,v 1.34 2020/01/21 22:25:40 tom Exp $
+; $LynxId: lynx.iss,v 1.35 2021/01/01 14:53:59 tom Exp $
; vile:ts=4 sw=4 notabinsert fk=8bit
;
; This is the BASE script for different flavors of the installer for Lynx.
@@ -94,7 +94,7 @@ AppName={#MyAppName} #emit 'VersionInfoVersion=' + LYNX_TARGET1
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
-AppCopyright=© 1997-2019,2020, Thomas E. Dickey
+AppCopyright=© 1997-2020,2021, Thomas E. Dickey
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
diff --git a/PACKAGE/lynx.nsi b/PACKAGE/lynx.nsi index 6fabf8f1..fac617cb 100644 --- a/PACKAGE/lynx.nsi +++ b/PACKAGE/lynx.nsi @@ -1,4 +1,4 @@ -; $LynxId: lynx.nsi,v 1.53 2020/11/26 19:25:38 tom Exp $
+; $LynxId: lynx.nsi,v 1.54 2021/01/01 14:54:07 tom Exp $
; Script originally generated with the Venis Install Wizard, but customized.
; The Inno Setup script is preferred; but this can be built via cross-compiling.
@@ -28,7 +28,7 @@ SetCompressor /SOLID lzma VIAddVersionKey ProductName "${SUBKEY}"
VIAddVersionKey CompanyName "https://invisible-island.net/lynx"
-VIAddVersionKey LegalCopyright "© 1997-2019,2020, Thomas E. Dickey"
+VIAddVersionKey LegalCopyright "© 1997-2020,2021, Thomas E. Dickey"
VIAddVersionKey FileDescription "Lynx Installer (MinGW)"
VIAddVersionKey FileVersion "${VERSION}"
VIAddVersionKey ProductVersion "${VERSION}"
@@ -1,4 +1,4 @@ -dnl $LynxId: aclocal.m4,v 1.271 2020/11/26 22:37:55 tom Exp $ +dnl $LynxId: aclocal.m4,v 1.288 2021/01/03 00:24:20 tom Exp $ dnl Macros for auto-configure script. dnl by Thomas E. Dickey <dickey@invisible-island.net> dnl and Jim Spath <jspath@mail.bcpl.lib.md.us> @@ -12,7 +12,7 @@ dnl https://invisible-island.net/autoconf/autoconf.html dnl dnl --------------------------------------------------------------------------- dnl -dnl Copyright 1997-2019,2020 by Thomas E. Dickey +dnl Copyright 1997-2020,2021 by Thomas E. Dickey dnl dnl Permission to use, copy, modify, and distribute this software and its dnl documentation for any purpose and without fee is hereby granted, @@ -41,7 +41,7 @@ dnl https://invisible-island.net/autoconf/autoconf.html dnl https://invisible-island.net/autoconf/my-autoconf.html dnl --------------------------------------------------------------------------- dnl --------------------------------------------------------------------------- -dnl AM_GNU_GETTEXT version: 14 updated: 2015/04/15 19:08:48 +dnl AM_GNU_GETTEXT version: 15 updated: 2021/01/02 09:31:20 dnl -------------- dnl Usage: Just like AM_WITH_NLS, which see. AC_DEFUN([AM_GNU_GETTEXT], @@ -86,7 +86,7 @@ strdup strtoul tsearch __argz_count __argz_stringify __argz_next]) ("$presentlang"*) useit=yes;; esac done - if test $useit = yes; then + if test "$useit" = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done @@ -177,7 +177,7 @@ size_t iconv(); AC_SUBST(LIBICONV) ])dnl dnl --------------------------------------------------------------------------- -dnl AM_LANGINFO_CODESET version: 5 updated: 2020/03/10 18:53:47 +dnl AM_LANGINFO_CODESET version: 6 updated: 2021/01/01 16:53:59 dnl ------------------- dnl Inserted as requested by gettext 0.10.40 dnl File from /usr/share/aclocal @@ -194,13 +194,13 @@ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, am_cv_langinfo_codeset=yes, am_cv_langinfo_codeset=no) ]) - if test $am_cv_langinfo_codeset = yes; then + if test "$am_cv_langinfo_codeset" = yes; then AC_DEFINE(HAVE_LANGINFO_CODESET, 1, [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) fi ])dnl dnl --------------------------------------------------------------------------- -dnl AM_LC_MESSAGES version: 5 updated: 2015/05/10 19:52:14 +dnl AM_LC_MESSAGES version: 6 updated: 2021/01/02 09:31:20 dnl -------------- dnl Inserted as requested by gettext 0.10.40 dnl File from /usr/share/aclocal @@ -221,17 +221,17 @@ dnl dnl serial 2 dnl AC_DEFUN([AM_LC_MESSAGES], -[if test $ac_cv_header_locale_h = yes; then +[if test "$ac_cv_header_locale_h" = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) - if test $am_cv_val_LC_MESSAGES = yes; then + if test "$am_cv_val_LC_MESSAGES" = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your <locale.h> file defines LC_MESSAGES.]) fi fi])dnl dnl --------------------------------------------------------------------------- -dnl AM_PATH_PROG_WITH_TEST version: 9 updated: 2015/04/15 19:08:48 +dnl AM_PATH_PROG_WITH_TEST version: 10 updated: 2021/01/02 09:31:20 dnl ---------------------- dnl Inserted as requested by gettext 0.10.40 dnl File from /usr/share/aclocal @@ -267,7 +267,7 @@ AC_CACHE_VAL(ac_cv_path_$1, IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word$ac_exeext; then + if test -f "$ac_dir/$ac_word$ac_exeext" ; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exeext" break @@ -290,7 +290,7 @@ fi AC_SUBST($1)dnl ])dnl dnl --------------------------------------------------------------------------- -dnl AM_WITH_NLS version: 29 updated: 2018/02/21 21:26:03 +dnl AM_WITH_NLS version: 30 updated: 2021/01/02 09:31:20 dnl ----------- dnl Inserted as requested by gettext 0.10.40 dnl File from /usr/share/aclocal @@ -476,7 +476,7 @@ AC_DEFUN([AM_WITH_NLS], if test "$nls_cv_use_gnu_gettext" != "no"; then CATOBJEXT=.gmo - if test -f $srcdir/intl/libintl.h ; then + if test -f "$srcdir/intl/libintl.h" ; then dnl Mark actions used to generate GNU NLS library. INTLOBJS="\$(GETTOBJS)" BUILD_INCLUDED_LIBINTL=yes @@ -521,10 +521,10 @@ AC_DEFUN([AM_WITH_NLS], case "$ac_file" in (*/[Mm]akefile.in) # Adjust a relative srcdir. - ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir="`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`" ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" - ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` - ac_base=`basename $ac_file .in` + ac_dots="`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`" + ac_base="`basename $ac_file .in`" # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" @@ -571,7 +571,7 @@ AC_DEFUN([AM_WITH_NLS], AC_MSG_CHECKING([version of bison]) changequote(<<,>>)dnl ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` - case $ac_prog_version in + case "$ac_prog_version" in ('') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; (1.2[6-9]*|1.[3-9][0-9]*|[2-9].*) changequote([,])dnl @@ -580,7 +580,7 @@ changequote([,])dnl esac AC_MSG_RESULT([$ac_prog_version]) fi - if test $ac_verc_fail = yes; then + if test "$ac_verc_fail" = yes; then INTLBISON=: fi fi @@ -648,7 +648,7 @@ define([CF_ACVERSION_COMPARE], [ifelse([$8], , ,[$8])], [ifelse([$9], , ,[$9])])])dnl dnl --------------------------------------------------------------------------- -dnl CF_ADD_CFLAGS version: 14 updated: 2020/04/04 16:16:13 +dnl CF_ADD_CFLAGS version: 15 updated: 2020/12/31 10:54:15 dnl ------------- dnl Copy non-preprocessor flags to $CFLAGS, preprocessor flags to $CPPFLAGS dnl $1 = flags to add @@ -666,19 +666,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $1 do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[[^=]]*='\''\"[[^"]]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[[^=]]*='\''\"[[^"]]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then CF_APPEND_TEXT(cf_new_extra_cppflags,$cf_add_cflags) continue elif test "${cf_tst_cflags}" = "\"'" ; then @@ -691,7 +691,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` CF_REMOVE_DEFINE(CPPFLAGS,$CPPFLAGS,$cf_tst_cppflags) @@ -709,7 +709,7 @@ case $cf_fix_cppflags in (yes) CF_APPEND_TEXT(cf_new_extra_cppflags,$cf_add_cflags) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[[^"]]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[[^"]]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -737,7 +737,7 @@ AC_SUBST(EXTRA_CPPFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_ADD_INCDIR version: 15 updated: 2018/06/20 20:23:13 +dnl CF_ADD_INCDIR version: 16 updated: 2020/12/31 20:19:42 dnl ------------- dnl Add an include-directory to $CPPFLAGS. Don't add /usr/include, since it's dnl redundant. We don't normally need to add -I/usr/local/include for gcc, @@ -749,9 +749,9 @@ AC_DEFUN([CF_ADD_INCDIR], if test -n "$1" ; then for cf_add_incdir in $1 do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -782,7 +782,7 @@ if test -n "$1" ; then CF_VERBOSE(adding $cf_add_incdir to include-path) ifelse([$2],,CPPFLAGS,[$2])="$ifelse([$2],,CPPFLAGS,[$2]) -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -804,7 +804,7 @@ dnl $1 = library to add, without the "-l" dnl $2 = variable to update (default $LIBS) AC_DEFUN([CF_ADD_LIB],[CF_ADD_LIBS(-l$1,ifelse($2,,LIBS,[$2]))])dnl dnl --------------------------------------------------------------------------- -dnl CF_ADD_LIBDIR version: 10 updated: 2015/04/18 08:56:57 +dnl CF_ADD_LIBDIR version: 11 updated: 2020/12/31 20:19:42 dnl ------------- dnl Adds to the library-path dnl @@ -818,9 +818,9 @@ AC_DEFUN([CF_ADD_LIBDIR], if test -n "$1" ; then for cf_add_libdir in $1 do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -898,7 +898,7 @@ case "$1" in esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_ADD_SEARCHPATH version: 5 updated: 2009/01/11 20:40:21 +dnl CF_ADD_SEARCHPATH version: 6 updated: 2020/12/31 20:19:42 dnl ----------------- dnl Set $CPPFLAGS and $LDFLAGS with the directories given via the parameter. dnl They can be either the common root of include- and lib-directories, or the @@ -911,16 +911,16 @@ AC_DEFUN([CF_ADD_SEARCHPATH], [ AC_REQUIRE([CF_PATHSEP]) for cf_searchpath in `echo "$1" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then CF_ADD_INCDIR($cf_searchpath/include) - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then CF_ADD_INCDIR($cf_searchpath/../include) ifelse([$2],,,[else $2]) fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then CF_ADD_LIBDIR($cf_searchpath/lib) - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then CF_ADD_LIBDIR($cf_searchpath) ifelse([$2],,,[else $2]) @@ -928,7 +928,7 @@ $2]) done ]) dnl --------------------------------------------------------------------------- -dnl CF_ADD_SUBDIR_PATH version: 4 updated: 2013/10/08 17:47:05 +dnl CF_ADD_SUBDIR_PATH version: 5 updated: 2020/12/31 20:19:42 dnl ------------------ dnl Append to a search-list for a nonstandard header/lib-file dnl $1 = the variable to return as result @@ -940,17 +940,17 @@ AC_DEFUN([CF_ADD_SUBDIR_PATH], [ test "x$4" != "x$5" && \ test -d "$4" && \ -ifelse([$5],NONE,,[(test -z "$5" || test x$5 = xNONE || test "x$4" != "x$5") &&]) { +ifelse([$5],NONE,,[{ test -z "$5" || test "x$5" = xNONE || test "x$4" != "x$5"; } &&]) { test -n "$verbose" && echo " ... testing for $3-directories under $4" - test -d $4/$3 && $1="[$]$1 $4/$3" - test -d $4/$3/$2 && $1="[$]$1 $4/$3/$2" - test -d $4/$3/$2/$3 && $1="[$]$1 $4/$3/$2/$3" - test -d $4/$2/$3 && $1="[$]$1 $4/$2/$3" - test -d $4/$2/$3/$2 && $1="[$]$1 $4/$2/$3/$2" + test -d "$4/$3" && $1="[$]$1 $4/$3" + test -d "$4/$3/$2" && $1="[$]$1 $4/$3/$2" + test -d "$4/$3/$2/$3" && $1="[$]$1 $4/$3/$2/$3" + test -d "$4/$2/$3" && $1="[$]$1 $4/$2/$3" + test -d "$4/$2/$3/$2" && $1="[$]$1 $4/$2/$3/$2" } ])dnl dnl --------------------------------------------------------------------------- -dnl CF_ALT_CHAR_SET version: 8 updated: 2012/11/08 20:57:52 +dnl CF_ALT_CHAR_SET version: 9 updated: 2021/01/02 09:31:20 dnl --------------- dnl Check for existence of alternate-character-set support in curses, so we dnl can decide to use it for box characters. @@ -963,14 +963,14 @@ for mapname in acs_map _acs_map do AC_TRY_LINK([ #include <${cf_cv_ncurses_header:-curses.h}> - ],[chtype x = $mapname['l']; $mapname['m'] = 0], + ],[chtype x = ${mapname}['l']; ${mapname}['m'] = 0], [cf_cv_alt_char_set=$mapname break], [cf_cv_alt_char_set=no]) done ]) AC_MSG_RESULT($cf_cv_alt_char_set) -test $cf_cv_alt_char_set != no && AC_DEFINE_UNQUOTED(ALT_CHAR_SET,$cf_cv_alt_char_set,[Define to 1 if if curses supports alternate-character set]) +test "$cf_cv_alt_char_set" != no && AC_DEFINE_UNQUOTED(ALT_CHAR_SET,$cf_cv_alt_char_set,[Define to 1 if if curses supports alternate-character set]) ])dnl dnl --------------------------------------------------------------------------- dnl CF_ANSI_CC_CHECK version: 13 updated: 2012/10/06 11:17:15 @@ -1090,7 +1090,7 @@ ifelse([$3],,[ :]dnl ])dnl ])])dnl dnl --------------------------------------------------------------------------- -dnl CF_AR_FLAGS version: 7 updated: 2020/04/04 11:37:29 +dnl CF_AR_FLAGS version: 9 updated: 2021/01/01 13:31:04 dnl ----------- dnl Check for suitable "ar" (archiver) options for updating an archive. dnl @@ -1101,7 +1101,7 @@ AC_DEFUN([CF_AR_FLAGS],[ AC_REQUIRE([CF_PROG_AR]) AC_CACHE_CHECK(for options to update archives, cf_cv_ar_flags,[ - case $cf_cv_system_name in + case "$cf_cv_system_name" in (*-msvc*) cf_cv_ar_flags='' cat >mk_static_lib.sh <<-EOF @@ -1128,18 +1128,18 @@ AC_CACHE_CHECK(for options to update archives, cf_cv_ar_flags,[ fi fi - rm -f conftest.$ac_cv_objext + rm -f "conftest.$ac_cv_objext" rm -f conftest.a - cat >conftest.$ac_ext <<EOF + cat >"conftest.$ac_ext" <<EOF #line __oline__ "configure" int testdata[[3]] = { 123, 456, 789 }; EOF if AC_TRY_EVAL(ac_compile) ; then echo "$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext" >&AC_FD_CC - $AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&AC_FD_CC 1>/dev/null + $AR $ARFLAGS "$cf_ar_flags" conftest.a "conftest.$ac_cv_objext" 2>&AC_FD_CC 1>/dev/null if test -f conftest.a ; then - cf_cv_ar_flags=$cf_ar_flags + cf_cv_ar_flags="$cf_ar_flags" break fi else @@ -1147,7 +1147,7 @@ EOF break fi done - rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext + rm -f conftest.a "conftest.$ac_ext" "conftest.$ac_cv_objext" ;; esac ]) @@ -1182,7 +1182,7 @@ if test "$cf_cv_bool_defs" = no ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_BUILD_CC version: 8 updated: 2018/01/04 20:31:04 +dnl CF_BUILD_CC version: 9 updated: 2021/01/02 09:31:20 dnl ----------- dnl If we're cross-compiling, allow the user to override the tools and their dnl options. The configure script is oriented toward identifying the host @@ -1248,7 +1248,7 @@ if test "$cross_compiling" = yes ; then : ${BUILD_CC:='${CC}'} - if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then + if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then AC_MSG_ERROR([Cross-build requires two compilers. Use --with-build-cc to specify the native compiler.]) fi @@ -1274,7 +1274,7 @@ AC_SUBST(BUILD_EXEEXT) AC_SUBST(BUILD_OBJEXT) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_BUNDLED_INTL version: 19 updated: 2018/06/20 20:23:13 +dnl CF_BUNDLED_INTL version: 20 updated: 2021/01/02 09:31:20 dnl --------------- dnl Top-level macro for configuring an application with a bundled copy of dnl the intl and po directories for gettext. @@ -1305,7 +1305,7 @@ cf_makefile=ifelse($1,,Makefile,$1) dnl Set of available languages (based on source distribution). Note that dnl setting $LINGUAS overrides $ALL_LINGUAS. Some environments set $LINGUAS dnl rather than $LC_ALL -test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po && echo *.po|sed -e 's/\.po//g' -e 's/*//'` +test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d "$srcdir/po" && cd "$srcdir/po" && echo *.po|sed -e 's/\.po//g' -e 's/*//'` # Allow override of "config.h" definition: : ${CONFIG_H:=config.h} @@ -1316,8 +1316,8 @@ if test -z "$PACKAGE" ; then fi if test -z "$VERSION" ; then -if test -f $srcdir/VERSION ; then - VERSION=`sed -e '2,$d' $srcdir/VERSION|cut -f1` +if test -f "$srcdir/VERSION" ; then + VERSION=`sed -e '2,$d' "$srcdir/VERSION" |cut -f1` else VERSION=unknown fi @@ -1404,7 +1404,7 @@ if test "$USE_INCLUDED_LIBINTL" = yes ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CC_ENV_FLAGS version: 9 updated: 2018/07/29 18:03:26 +dnl CF_CC_ENV_FLAGS version: 10 updated: 2020/12/31 18:40:20 dnl --------------- dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content dnl into CC. This will not help with broken scripts that wrap the compiler @@ -1419,7 +1419,7 @@ dnl outweighs that limitation. AC_DEFUN([CF_CC_ENV_FLAGS], [ # This should have been defined by AC_PROG_CC -: ${CC:=cc} +: "${CC:=cc}" AC_MSG_CHECKING(\$CFLAGS variable) case "x$CFLAGS" in @@ -1468,7 +1468,7 @@ case "$CC" in esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CHECK_CACHE version: 12 updated: 2012/10/02 20:55:03 +dnl CF_CHECK_CACHE version: 13 updated: 2020/12/31 10:54:15 dnl -------------- dnl Check if we're accidentally using a cache from a different machine. dnl Derive the system name, as a check for reusing the autoconf cache. @@ -1482,7 +1482,7 @@ dnl Note: we would use $ac_config_sub, but that is one of the places where dnl autoconf 2.5x broke compatibility with autoconf 2.13 AC_DEFUN([CF_CHECK_CACHE], [ -if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then +if test -f "$srcdir/config.guess" || test -f "$ac_aux_dir/config.guess" ; then ifelse([$1],,[AC_CANONICAL_HOST],[$1]) system_name="$host_os" else @@ -1503,7 +1503,7 @@ if test ".$system_name" != ".$cf_cv_system_name" ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CHECK_CFLAGS version: 3 updated: 2014/07/22 05:32:57 +dnl CF_CHECK_CFLAGS version: 4 updated: 2021/01/02 19:22:58 dnl --------------- dnl Conditionally add to $CFLAGS and $CPPFLAGS values which are derived from dnl a build-configuration such as imake. These have the pitfall that they @@ -1521,7 +1521,7 @@ AC_TRY_LINK([#include <stdio.h>],[printf("Hello world");],, if test "x$cf_check_cppflags" != "x$CPPFLAGS" ; then CF_VERBOSE(but keeping change to \$CPPFLAGS) fi - CFLAGS="$cf_check_flags"]) + CFLAGS="$cf_check_cflags"]) fi ])dnl dnl --------------------------------------------------------------------------- @@ -1658,7 +1658,7 @@ fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CHECK_SIZEOF version: 3 updated: 2018/02/21 21:26:03 +dnl CF_CHECK_SIZEOF version: 4 updated: 2021/01/02 09:31:20 dnl --------------- dnl Improve on AC_CHECK_SIZEOF for cases when the build-environment is dnl deficient, e.g., if someone tries to build in busybox. Use the second @@ -1681,7 +1681,7 @@ if test "${ac_cv_type_$1+set}" = set; then if test "x$ac_cv_sizeof_$1" != "x$cf_cv_sizeof" then CF_UPPER(cf_cv_type,sizeof_$1) - sed -e "s/\([[ ]]$cf_cv_type[[ ]]\).*/\1$ac_cv_sizeof_$1/" confdefs.h >conftest.val + sed -e "s/\\([[ ]]${cf_cv_type}[[ ]]\\).*/\\1$ac_cv_sizeof_$1/" confdefs.h >conftest.val mv conftest.val confdefs.h fi fi @@ -1709,7 +1709,7 @@ if test "$cf_x509_support" = yes ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CHECK_TYPE version: 3 updated: 2012/10/04 05:24:07 +dnl CF_CHECK_TYPE version: 4 updated: 2021/01/02 09:31:20 dnl ------------- dnl Add a 3rd parameter to AC_CHECK_TYPE, working around autoconf 2.5x's dnl deliberate incompatibility. @@ -1737,12 +1737,12 @@ $3 ac_cv_type_$1=no) AC_MSG_RESULT($ac_cv_type_$1) ])dnl -if test $ac_cv_type_$1 = no; then +if test "$ac_cv_type_$1" = no; then AC_DEFINE($1, $2, Define to $2 if $1 is not declared) fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CLANG_COMPILER version: 6 updated: 2020/11/26 17:37:55 +dnl CF_CLANG_COMPILER version: 8 updated: 2021/01/01 13:31:04 dnl ----------------- dnl Check if the given compiler is really clang. clang's C driver defines dnl __GNUC__ (fooling the configure script into setting $GCC to yes) but does @@ -1797,12 +1797,12 @@ if test "x$ifelse([$2],,CLANG_COMPILER,[$2])" = "xyes" ; then CFLAGS="$CFLAGS $cf_clang_opt" AC_TRY_LINK([ #include <stdio.h>],[ - printf("hello!\n");],[ + printf("hello!\\n");],[ cf_clang_optok=yes],[ cf_clang_optok=no]) AC_MSG_RESULT($cf_clang_optok) CFLAGS="$cf_save_CFLAGS" - if test $cf_clang_optok = yes; then + if test "$cf_clang_optok" = yes; then CF_VERBOSE(adding option $cf_clang_opt) CF_APPEND_TEXT(CFLAGS,$cf_clang_opt) fi @@ -1810,7 +1810,7 @@ if test "x$ifelse([$2],,CLANG_COMPILER,[$2])" = "xyes" ; then fi ]) dnl --------------------------------------------------------------------------- -dnl CF_COLOR_CURSES version: 8 updated: 2012/11/08 20:57:52 +dnl CF_COLOR_CURSES version: 9 updated: 2021/01/02 09:31:20 dnl --------------- dnl Check if curses supports color. (Note that while SVr3 curses supports dnl color, it does this differently from SVr4 curses; more work would be needed @@ -1834,13 +1834,13 @@ AC_CACHE_VAL(cf_cv_color_curses,[ [cf_cv_color_curses=no]) ]) AC_MSG_RESULT($cf_cv_color_curses) -if test $cf_cv_color_curses = yes ; then +if test "$cf_cv_color_curses" = yes ; then AC_DEFINE(COLOR_CURSES,1,[Define to 1 if if curses supports color attributes]) test ".$cf_cv_ncurses_broken" != .yes && AC_DEFINE(HAVE_GETBKGD,1,[Define to 1 if curses has getbkgd function]) fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CONST_X_STRING version: 4 updated: 2020/03/10 18:53:47 +dnl CF_CONST_X_STRING version: 6 updated: 2021/01/01 13:31:04 dnl ----------------- dnl The X11R4-X11R6 Xt specification uses an ambiguous String type for most dnl character-strings. @@ -1852,7 +1852,7 @@ dnl did not take into account the use of const for telling the compiler that dnl string literals would be in readonly memory. dnl dnl As a workaround, one could (starting with X11R5) define XTSTRINGDEFINES, to -dnl let the compiler decide how to represent Xt's strings which were #define'd. +dnl let the compiler decide how to represent Xt's strings which were #define'd. dnl That does not solve the problem of using the block of Xt's strings which dnl are compiled into the library (and is less efficient than one might want). dnl @@ -1888,7 +1888,7 @@ AC_CACHE_CHECK(for X11/Xt const-feature,cf_cv_const_x_string,[ CF_RESTORE_XTRA_FLAGS([CF_CONST_X_STRING]) -case $cf_cv_const_x_string in +case "$cf_cv_const_x_string" in (no) CF_APPEND_TEXT(CPPFLAGS,-DXTSTRINGDEFINES) ;; @@ -1900,7 +1900,7 @@ esac ]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CURSES_CHTYPE version: 10 updated: 2020/03/19 20:46:13 +dnl CF_CURSES_CHTYPE version: 11 updated: 2021/01/02 09:31:20 dnl ---------------- dnl Test if curses defines 'chtype' (usually a 'long' type for SysV curses). AC_DEFUN([CF_CURSES_CHTYPE], @@ -1911,14 +1911,14 @@ AC_CACHE_CHECK(for chtype typedef,cf_cv_chtype_decl,[ [chtype foo; (void)foo], [cf_cv_chtype_decl=yes], [cf_cv_chtype_decl=no])]) -if test $cf_cv_chtype_decl = yes ; then +if test "$cf_cv_chtype_decl" = yes ; then AC_DEFINE(HAVE_TYPE_CHTYPE,1,[Define to 1 if chtype is declared]) AC_CACHE_CHECK(if chtype is scalar or struct,cf_cv_chtype_type,[ AC_TRY_COMPILE([#include <${cf_cv_ncurses_header:-curses.h}>], [static chtype foo; long x = foo; (void)x], [cf_cv_chtype_type=scalar], [cf_cv_chtype_type=struct])]) - if test $cf_cv_chtype_type = scalar ; then + if test "$cf_cv_chtype_type" = scalar ; then AC_DEFINE(TYPE_CHTYPE_IS_SCALAR,1,[Define to 1 if chtype is a scaler/integer]) fi fi @@ -1936,14 +1936,14 @@ CF_NCURSES_VERSION CF_CURSES_LIBS ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CURSES_CPPFLAGS version: 13 updated: 2018/06/20 20:23:13 +dnl CF_CURSES_CPPFLAGS version: 14 updated: 2021/01/02 09:31:20 dnl ------------------ dnl Look for the curses headers. AC_DEFUN([CF_CURSES_CPPFLAGS],[ AC_CACHE_CHECK(for extra include directories,cf_cv_curses_incdir,[ cf_cv_curses_incdir=no -case $host_os in +case "$host_os" in (hpux10.*) if test "x$cf_cv_screen" = "xcurses_colr" then @@ -1970,7 +1970,7 @@ CF_CURSES_HEADER CF_TERM_HEADER ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CURSES_FUNCS version: 19 updated: 2018/01/03 04:47:33 +dnl CF_CURSES_FUNCS version: 20 updated: 2020/12/31 20:19:42 dnl --------------- dnl Curses-functions are a little complicated, since a lot of them are macros. AC_DEFUN([CF_CURSES_FUNCS], @@ -1991,7 +1991,7 @@ do [ #ifndef ${cf_func} long foo = (long)(&${cf_func}); -fprintf(stderr, "testing linkage of $cf_func:%p\n", (void *)foo); +fprintf(stderr, "testing linkage of $cf_func:%p\\n", (void *)foo); if (foo + 1234L > 5678L) ${cf_cv_main_return:-return}(foo != 0); #endif @@ -1999,12 +1999,12 @@ if (foo + 1234L > 5678L) [cf_result=yes], [cf_result=no]) fi - eval 'cf_cv_func_'$cf_func'=$cf_result' + eval 'cf_cv_func_'$cf_func'="$cf_result"' ]) # use the computed/retrieved cache-value: eval 'cf_result=$cf_cv_func_'$cf_func AC_MSG_RESULT($cf_result) - if test $cf_result != no; then + if test "$cf_result" != no; then AC_DEFINE_UNQUOTED(HAVE_${cf_tr_func}) fi done @@ -2037,7 +2037,7 @@ fi AC_CHECK_HEADERS($cf_cv_ncurses_header) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CURSES_LIBS version: 42 updated: 2018/06/20 20:23:13 +dnl CF_CURSES_LIBS version: 44 updated: 2021/01/02 09:31:20 dnl -------------- dnl Look for the curses libraries. Older curses implementations may require dnl termcap/termlib to be linked as well. Call CF_CURSES_CPPFLAGS first. @@ -2052,7 +2052,7 @@ AC_TRY_LINK([#include <${cf_cv_ncurses_header:-curses.h}>], AC_MSG_RESULT($cf_result) if test "$cf_result" = no ; then -case $host_os in +case "$host_os" in (freebsd*) AC_CHECK_LIB(mytinfo,tgoto,[CF_ADD_LIBS(-lmytinfo)]) ;; @@ -2120,7 +2120,7 @@ if test ".$ac_cv_func_initscr" != .yes ; then for cf_term_lib in $cf_check_list otermcap termcap tinfo termlib unknown do AC_CHECK_LIB($cf_term_lib,tgoto,[ - : ${cf_nculib_root:=$cf_term_lib} + : "${cf_nculib_root:=$cf_term_lib}" break ]) done @@ -2141,7 +2141,7 @@ if test ".$ac_cv_func_initscr" != .yes ; then [cf_result=yes], [cf_result=no]) AC_MSG_RESULT($cf_result) - test $cf_result = yes && break + test "$cf_result" = yes && break elif test "$cf_curs_lib" = "$cf_term_lib" ; then cf_result=no elif test "$cf_term_lib" != predefined ; then @@ -2157,17 +2157,17 @@ if test ".$ac_cv_func_initscr" != .yes ; then [cf_result=error]) ]) AC_MSG_RESULT($cf_result) - test $cf_result != error && break + test "$cf_result" != error && break fi done fi - test $cf_curs_lib = unknown && AC_MSG_ERROR(no curses library found) + test "$cf_curs_lib" = unknown && AC_MSG_ERROR(no curses library found) fi fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CURSES_TERM_H version: 12 updated: 2020/03/19 20:23:48 +dnl CF_CURSES_TERM_H version: 15 updated: 2021/01/02 09:31:20 dnl ---------------- dnl SVr4 curses should have term.h as well (where it puts the definitions of dnl the low-level interface). This may not be true in old/broken implementations, @@ -2184,9 +2184,9 @@ AC_CACHE_CHECK(for term.h, cf_cv_term_header,[ cf_header_list="term.h ncurses/term.h ncursesw/term.h" -case ${cf_cv_ncurses_header:-curses.h} in +case "${cf_cv_ncurses_header:-curses.h}" in (*/*) - cf_header_item=`echo ${cf_cv_ncurses_header:-curses.h} | sed -e 's%\..*%%' -e 's%/.*%/%'`term.h + cf_header_item=`echo "${cf_cv_ncurses_header:-curses.h}" | sed -e 's%\..*%%' -e 's%/.*%/%'`term.h cf_header_list="$cf_header_item $cf_header_list" ;; esac @@ -2202,7 +2202,7 @@ do [cf_cv_term_header=no]) done -case $cf_cv_term_header in +case "$cf_cv_term_header" in (no) # If curses is ncurses, some packagers still mess it up by trying to make # us use GNU termcap. This handles the most common case. @@ -2224,7 +2224,7 @@ make an error esac ]) -case $cf_cv_term_header in +case "$cf_cv_term_header" in (term.h) AC_DEFINE(HAVE_TERM_H,1,[Define to 1 if we have term.h]) ;; @@ -2237,7 +2237,7 @@ case $cf_cv_term_header in esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CURSES_UNCTRL_H version: 5 updated: 2020/03/19 20:23:48 +dnl CF_CURSES_UNCTRL_H version: 8 updated: 2021/01/02 09:31:20 dnl ------------------ dnl Any X/Open curses implementation must have unctrl.h, but ncurses packages dnl may put it in a subdirectory (along with ncurses' other headers, of @@ -2254,9 +2254,9 @@ AC_CACHE_CHECK(for unctrl.h, cf_cv_unctrl_header,[ cf_header_list="unctrl.h ncurses/unctrl.h ncursesw/unctrl.h" -case ${cf_cv_ncurses_header:-curses.h} in +case "${cf_cv_ncurses_header:-curses.h}" in (*/*) - cf_header_item=`echo ${cf_cv_ncurses_header:-curses.h} | sed -e 's%\..*%%' -e 's%/.*%/%'`unctrl.h + cf_header_item=`echo "${cf_cv_ncurses_header:-curses.h}" | sed -e 's%\..*%%' -e 's%/.*%/%'`unctrl.h cf_header_list="$cf_header_item $cf_header_list" ;; esac @@ -2273,13 +2273,13 @@ do done ]) -case $cf_cv_unctrl_header in +case "$cf_cv_unctrl_header" in (no) AC_MSG_WARN(unctrl.h header not found) ;; esac -case $cf_cv_unctrl_header in +case "$cf_cv_unctrl_header" in (unctrl.h) AC_DEFINE(HAVE_UNCTRL_H,1,[Define to 1 if we have unctrl.h]) ;; @@ -2292,7 +2292,7 @@ case $cf_cv_unctrl_header in esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CURS_PERFORMANCE version: 5 updated: 2012/11/08 20:57:52 +dnl CF_CURS_PERFORMANCE version: 6 updated: 2021/01/02 09:31:20 dnl ------------------- dnl Solaris 2.x curses provides a "performance" tradeoff according to whether dnl CURS_PERFORMANCE is defined. If defined, the implementation defines macros @@ -2320,7 +2320,7 @@ AC_CACHE_VAL(cf_cv_curs_performance,[ #endif ],[cf_cv_curs_performance=yes])])]) AC_MSG_RESULT($cf_cv_curs_performance) -test $cf_cv_curs_performance = yes && AC_DEFINE(CURS_PERFORMANCE,1,[Define to 1 ifr curses performance tradeoff available]) +test "$cf_cv_curs_performance" = yes && AC_DEFINE(CURS_PERFORMANCE,1,[Define to 1 ifr curses performance tradeoff available]) ])dnl dnl --------------------------------------------------------------------------- dnl CF_CURS_TOUCHLINE version: 5 updated: 2015/04/15 19:08:48 @@ -2349,7 +2349,7 @@ case "$cf_cv_curs_touchline" in esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_DEFINE_PROG version: 4 updated: 2012/11/08 20:57:52 +dnl CF_DEFINE_PROG version: 5 updated: 2021/01/02 09:31:20 dnl -------------- dnl Check for a program in the given list $3, defining the corresponding dnl program variable $2. @@ -2360,8 +2360,8 @@ AC_CACHE_VAL(cf_cv_$2,[ cf_cv_$2=unknown for cv_path in $3 do - if test -f $cv_path ; then - cf_cv_$2=$cv_path + if test -f "$cv_path" ; then + cf_cv_$2="$cv_path" break fi done @@ -2370,10 +2370,10 @@ AC_MSG_RESULT($cf_cv_$2) AC_DEFINE_UNQUOTED($2,"$cf_cv_$2",[Define to program from list]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_DIRNAME version: 4 updated: 2002/12/21 19:25:52 +dnl CF_DIRNAME version: 5 updated: 2020/12/31 20:19:42 dnl ---------- dnl "dirname" is not portable, so we fake it with a shell script. -AC_DEFUN([CF_DIRNAME],[$1=`echo $2 | sed -e 's%/[[^/]]*$%%'`])dnl +AC_DEFUN([CF_DIRNAME],[$1=`echo "$2" | sed -e 's%/[[^/]]*$%%'`])dnl dnl --------------------------------------------------------------------------- dnl CF_DISABLE_ECHO version: 13 updated: 2015/04/18 08:56:57 dnl --------------- @@ -2431,7 +2431,7 @@ if test "$cf_disable_rpath_hack" = no ; then fi ]) dnl --------------------------------------------------------------------------- -dnl CF_ENABLE_WARNINGS version: 7 updated: 2020/08/29 09:05:21 +dnl CF_ENABLE_WARNINGS version: 8 updated: 2020/12/31 18:40:20 dnl ------------------ dnl Configure-option to enable gcc warnings dnl @@ -2441,7 +2441,7 @@ dnl warnings are enabled. For other values: dnl yes: always do this, e.g., to use in generated library-headers dnl no: never do this AC_DEFUN([CF_ENABLE_WARNINGS],[ -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then CF_FIX_WARNINGS(CFLAGS) CF_FIX_WARNINGS(CPPFLAGS) @@ -2469,7 +2469,7 @@ AC_DEFUN([CF_ERRNO], CF_CHECK_ERRNO(errno) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FANCY_CURSES version: 6 updated: 2012/11/08 20:57:52 +dnl CF_FANCY_CURSES version: 7 updated: 2021/01/02 09:31:20 dnl --------------- AC_DEFUN([CF_FANCY_CURSES], [ @@ -2487,10 +2487,10 @@ AC_CACHE_VAL(cf_cv_fancy_curses,[ [cf_cv_fancy_curses=no]) ]) AC_MSG_RESULT($cf_cv_fancy_curses) -test $cf_cv_fancy_curses = yes && AC_DEFINE(FANCY_CURSES,1,[Define to 1 if curses supports fancy attributes]) +test "$cf_cv_fancy_curses" = yes && AC_DEFINE(FANCY_CURSES,1,[Define to 1 if curses supports fancy attributes]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FIND_IPV6_LIBS version: 8 updated: 2015/04/15 19:08:48 +dnl CF_FIND_IPV6_LIBS version: 9 updated: 2021/01/02 09:31:20 dnl ----------------- dnl Based on the IPV6 stack type, look for the corresponding library. AC_DEFUN([CF_FIND_IPV6_LIBS],[ @@ -2500,7 +2500,7 @@ cf_ipv6lib=none cf_ipv6dir=none AC_MSG_CHECKING(for IPv6 library if required) -case $cf_cv_ipv6type in +case "$cf_cv_ipv6type" in (solaris) ;; (inria) @@ -2544,7 +2544,7 @@ if test "$cf_ipv6lib" != "none"; then for cf_incdir in $cf_search do cf_header=$cf_incdir/netinet/ip6.h - if test -f $cf_header + if test -f "$cf_header" then CF_ADD_INCDIR($cf_incdir) test -n "$verbose" && echo " ... found $cf_header" 1>&AC_FD_MSG @@ -2562,7 +2562,7 @@ if test "$cf_ipv6lib" != "none"; then [getaddrinfo(0, 0, 0, 0)], [getaddrinfo], noexit) - if test $cf_found_library = no ; then + if test "$cf_found_library" = no ; then AC_MSG_ERROR( [No $cf_ipv6lib library found, cannot continue. You must fetch lib$cf_ipv6lib.a from an appropriate IPv6 kit and compile beforehand.]) @@ -2571,14 +2571,14 @@ fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FIND_IPV6_TYPE version: 6 updated: 2015/04/15 19:08:48 +dnl CF_FIND_IPV6_TYPE version: 7 updated: 2021/01/02 09:31:20 dnl ----------------- AC_DEFUN([CF_FIND_IPV6_TYPE],[ AC_CACHE_CHECK(ipv6 stack type, cf_cv_ipv6type, [ cf_cv_ipv6type=unknown for i in solaris inria kame linux-glibc linux-libinet6 toshiba v6d zeta do - case $i in + case "$i" in (solaris) if test "SunOS" = "`uname -s`" then @@ -2651,7 +2651,7 @@ done ]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FIND_LIBRARY version: 9 updated: 2008/03/23 14:48:54 +dnl CF_FIND_LIBRARY version: 11 updated: 2021/01/02 09:31:20 dnl --------------- dnl Look for a non-standard library, given parameters for AC_TRY_LINK. We dnl prefer a standard location, and use -L options only if we do not find the @@ -2667,16 +2667,16 @@ dnl Sets the variable "$cf_libdir" as a side-effect, so we can see if we had dnl to use a -L option. AC_DEFUN([CF_FIND_LIBRARY], [ - eval 'cf_cv_have_lib_'$1'=no' + eval 'cf_cv_have_lib_'"$1"'=no' cf_libdir="" AC_CHECK_FUNC($5, - eval 'cf_cv_have_lib_'$1'=yes',[ + eval 'cf_cv_have_lib_'"$1"'=yes',[ cf_save_LIBS="$LIBS" AC_MSG_CHECKING(for $5 in -l$1) LIBS="-l$1 $LIBS" AC_TRY_LINK([$3],[$4], [AC_MSG_RESULT(yes) - eval 'cf_cv_have_lib_'$1'=yes' + eval 'cf_cv_have_lib_'"$1"'=yes' ], [AC_MSG_RESULT(no) CF_LIBRARY_PATH(cf_search,$2) @@ -2686,22 +2686,22 @@ AC_DEFUN([CF_FIND_LIBRARY], LIBS="-L$cf_libdir -l$1 $cf_save_LIBS" AC_TRY_LINK([$3],[$4], [AC_MSG_RESULT(yes) - eval 'cf_cv_have_lib_'$1'=yes' + eval 'cf_cv_have_lib_'"$1"'=yes' break], [AC_MSG_RESULT(no) LIBS="$cf_save_LIBS"]) done ]) ]) -eval 'cf_found_library=[$]cf_cv_have_lib_'$1 +eval 'cf_found_library="[$]cf_cv_have_lib_'"$1"\" ifelse($6,,[ -if test $cf_found_library = no ; then +if test "$cf_found_library" = no ; then AC_MSG_ERROR(Cannot link $1 library) fi ]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FIND_LINKAGE version: 21 updated: 2018/06/20 20:23:13 +dnl CF_FIND_LINKAGE version: 22 updated: 2020/12/31 20:19:42 dnl --------------- dnl Find a library (specifically the linkage used in the code fragment), dnl searching for it if it is not already in the library path. @@ -2758,7 +2758,7 @@ AC_TRY_LINK([$1],[$2],[ CF_HEADER_PATH(cf_search,ifelse([$6],,[$3],[$6])) for cf_cv_header_path_$3 in $cf_search do - if test -d $cf_cv_header_path_$3 ; then + if test -d "$cf_cv_header_path_$3" ; then CF_VERBOSE(... testing $cf_cv_header_path_$3) CPPFLAGS="$cf_save_CPPFLAGS" CF_APPEND_TEXT(CPPFLAGS,-I$cf_cv_header_path_$3) @@ -2793,7 +2793,7 @@ AC_TRY_LINK([$1],[$2],[ CF_LIBRARY_PATH(cf_search,$3) for cf_cv_library_path_$3 in $cf_search do - if test -d $cf_cv_library_path_$3 ; then + if test -d "$cf_cv_library_path_$3" ; then CF_VERBOSE(... testing $cf_cv_library_path_$3) CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-l$3 $7 $cf_save_LIBS" @@ -2862,7 +2862,7 @@ AC_TRY_LINK([ test "$cf_cv_fionbio" = "fcntl" && AC_DEFINE(USE_FCNTL,1,[Define to 1 if we should use fcntl]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FIX_WARNINGS version: 2 updated: 2020/08/28 15:08:28 +dnl CF_FIX_WARNINGS version: 3 updated: 2020/12/31 18:40:20 dnl --------------- dnl Warning flags do not belong in CFLAGS, CPPFLAGS, etc. Any of gcc's dnl "-Werror" flags can interfere with configure-checks. Those go into @@ -2870,7 +2870,7 @@ dnl EXTRA_CFLAGS. dnl dnl $1 = variable name to repair define([CF_FIX_WARNINGS],[ -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then case [$]$1 in (*-Werror=*) @@ -2880,10 +2880,10 @@ then do case "x$cf_temp_scan" in (x-Werror=*) - CF_APPEND_TEXT(EXTRA_CFLAGS,"$cf_temp_scan") + CF_APPEND_TEXT(EXTRA_CFLAGS,$cf_temp_scan) ;; (*) - CF_APPEND_TEXT(cf_temp_flags,"$cf_temp_scan") + CF_APPEND_TEXT(cf_temp_flags,$cf_temp_scan) ;; esac done @@ -2896,7 +2896,7 @@ fi AC_SUBST(EXTRA_CFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FUNC_CURSES_VERSION version: 7 updated: 2017/05/10 18:31:29 +dnl CF_FUNC_CURSES_VERSION version: 8 updated: 2021/01/02 09:31:20 dnl ---------------------- dnl Solaris has a data item 'curses_version', which confuses AC_CHECK_FUNCS. dnl It's a character string "SVR4", not documented. @@ -2908,7 +2908,7 @@ AC_TRY_RUN([ int main(void) { char temp[1024]; - sprintf(temp, "%s\n", curses_version()); + sprintf(temp, "%s\\n", curses_version()); ${cf_cv_main_return:-return}(0); }] ,[cf_cv_func_curses_version=yes] @@ -3009,7 +3009,7 @@ if test "$cf_cv_getaddrinfo" = yes ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FUNC_LSTAT version: 3 updated: 2012/11/08 20:57:52 +dnl CF_FUNC_LSTAT version: 4 updated: 2021/01/02 09:31:20 dnl ------------- dnl A conventional existence-check for 'lstat' won't work with the Linux dnl version of gcc 2.7.0, since the symbol is defined only within <sys/stat.h> @@ -3028,7 +3028,7 @@ AC_TRY_LINK([ [ac_cv_func_lstat=no]) ]) AC_MSG_RESULT($ac_cv_func_lstat ) -if test $ac_cv_func_lstat = yes; then +if test "$ac_cv_func_lstat" = yes; then AC_DEFINE(HAVE_LSTAT,1,[Define to 1 if we have lstat]) fi ])dnl @@ -3086,7 +3086,7 @@ AC_CHECK_FUNC(vasprintf,[ ]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FUNC_WAIT version: 3 updated: 2012/10/06 08:57:51 +dnl CF_FUNC_WAIT version: 4 updated: 2021/01/02 09:31:20 dnl ------------ dnl Test for the presence of <sys/wait.h>, 'union wait', arg-type of 'wait()' dnl and/or 'waitpid()'. @@ -3101,7 +3101,7 @@ dnl AC_DEFUN([CF_FUNC_WAIT], [ AC_REQUIRE([CF_UNION_WAIT]) -if test $cf_cv_type_unionwait = yes; then +if test "$cf_cv_type_unionwait" = yes; then AC_MSG_CHECKING(if union wait can be used as wait-arg) AC_CACHE_VAL(cf_cv_arg_union_wait,[ @@ -3111,7 +3111,7 @@ if test $cf_cv_type_unionwait = yes; then [cf_cv_arg_union_wait=no]) ]) AC_MSG_RESULT($cf_cv_arg_union_wait) - test $cf_cv_arg_union_wait = yes && AC_DEFINE(WAIT_USES_UNION,1,[Define to 1 if wait() uses a union parameter]) + test "$cf_cv_arg_union_wait" = yes && AC_DEFINE(WAIT_USES_UNION,1,[Define to 1 if wait() uses a union parameter]) AC_MSG_CHECKING(if union wait can be used as waitpid-arg) AC_CACHE_VAL(cf_cv_arg_union_waitpid,[ @@ -3121,19 +3121,19 @@ if test $cf_cv_type_unionwait = yes; then [cf_cv_arg_union_waitpid=no]) ]) AC_MSG_RESULT($cf_cv_arg_union_waitpid) - test $cf_cv_arg_union_waitpid = yes && AC_DEFINE(WAITPID_USES_UNION,1,[Define to 1 if waitpid() uses a union parameter]) + test "$cf_cv_arg_union_waitpid" = yes && AC_DEFINE(WAITPID_USES_UNION,1,[Define to 1 if waitpid() uses a union parameter]) fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_GCC_ATTRIBUTES version: 19 updated: 2020/08/29 09:05:21 +dnl CF_GCC_ATTRIBUTES version: 22 updated: 2021/01/01 13:31:04 dnl ----------------- dnl Test for availability of useful gcc __attribute__ directives to quiet dnl compiler warnings. Though useful, not all are supported -- and contrary dnl to documentation, unrecognized directives cause older compilers to barf. AC_DEFUN([CF_GCC_ATTRIBUTES], [ -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then cat > conftest.i <<EOF #ifndef GCC_PRINTF @@ -3152,7 +3152,7 @@ EOF if test "$GCC" = yes then AC_CHECKING([for $CC __attribute__ directives]) -cat > conftest.$ac_ext <<EOF +cat > "conftest.$ac_ext" <<EOF #line __oline__ "${as_me:-configure}" #include "confdefs.h" #include "conftest.h" @@ -3180,7 +3180,7 @@ EOF cf_directive="__attribute__(($cf_attribute))" echo "checking for $CC $cf_directive" 1>&AC_FD_CC - case $cf_attribute in + case "$cf_attribute" in (printf) cf_printf_attribute=yes cat >conftest.h <<EOF @@ -3203,7 +3203,7 @@ EOF if AC_TRY_EVAL(ac_compile); then test -n "$verbose" && AC_MSG_RESULT(... $cf_attribute) cat conftest.h >>confdefs.h - case $cf_attribute in + case "$cf_attribute" in (noreturn) AC_DEFINE_UNQUOTED(GCC_NORETURN,$cf_directive,[Define to noreturn-attribute for gcc]) ;; @@ -3232,7 +3232,7 @@ EOF else fgrep define conftest.i >>confdefs.h fi -rm -rf conftest* +rm -rf ./conftest* fi ])dnl dnl --------------------------------------------------------------------------- @@ -3253,7 +3253,7 @@ CF_INTEL_COMPILER(GCC,INTEL_COMPILER,CFLAGS) CF_CLANG_COMPILER(GCC,CLANG_COMPILER,CFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_GCC_WARNINGS version: 38 updated: 2020/08/28 15:08:28 +dnl CF_GCC_WARNINGS version: 41 updated: 2021/01/01 16:53:59 dnl --------------- dnl Check if the compiler supports useful warning options. There's a few that dnl we don't use, simply because they're too noisy: @@ -3277,7 +3277,7 @@ AC_DEFUN([CF_GCC_WARNINGS], [ AC_REQUIRE([CF_GCC_VERSION]) if test "x$have_x" = xyes; then CF_CONST_X_STRING fi -cat > conftest.$ac_ext <<EOF +cat > "conftest.$ac_ext" <<EOF #line __oline__ "${as_me:-configure}" int main(int argc, char *argv[[]]) { return (argv[[argc-1]] == 0) ; } EOF @@ -3341,16 +3341,16 @@ then CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" if AC_TRY_EVAL(ac_compile); then test -n "$verbose" && AC_MSG_RESULT(... -$cf_opt) - case $cf_opt in + case "$cf_opt" in (Winline) - case $GCC_VERSION in + case "$GCC_VERSION" in ([[34]].*) CF_VERBOSE(feature is broken in gcc $GCC_VERSION) continue;; esac ;; (Wpointer-arith) - case $GCC_VERSION in + case "$GCC_VERSION" in ([[12]].*) CF_VERBOSE(feature is broken in gcc $GCC_VERSION) continue;; @@ -3362,12 +3362,12 @@ then done CFLAGS="$cf_save_CFLAGS" fi -rm -rf conftest* +rm -rf ./conftest* AC_SUBST(EXTRA_CFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_GNUTLS version: 26 updated: 2019/12/31 10:27:03 +dnl CF_GNUTLS version: 27 updated: 2021/01/02 09:31:20 dnl --------- dnl Check for gnutls library (TLS "is" SSL) dnl $1 = the [optional] directory in which the library may be found @@ -3382,7 +3382,7 @@ AC_DEFUN([CF_GNUTLS],[ cf_pkg_gnutls=none if test "x$PKG_CONFIG" != xnone; then cf_pkg_gnutls=ifelse([$2],,gnutls-openssl,gnutls) - case $1 in + case "$1" in (no) ;; (yes) # if no explicit directory given, try pkg-config @@ -3404,7 +3404,7 @@ AC_DEFUN([CF_GNUTLS],[ cf_cv_header_path_gnutls=/usr/include ;; esac - if test -d $cf_cv_header_path_gnutls/gnutls ; then + if test -d "$cf_cv_header_path_gnutls/gnutls" ; then cf_cv_header_path_gnutls=$cf_cv_header_path_gnutls/gnutls fi CF_ADD_CFLAGS($cf_cflags_ssl) @@ -3451,7 +3451,7 @@ AC_DEFUN([CF_GNUTLS],[ if test "$cf_cv_have_gnutls" = yes ; then if test -n "$cf_cv_header_path_gnutls" ; then AC_DEFINE(USE_SSL) - case $cf_cv_header_path_gnutls in + case "$cf_cv_header_path_gnutls" in (/usr/include/gnutls) ;; (*) @@ -3592,7 +3592,7 @@ if test x$cf_cv_gnu_library = xyes; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_HEADER_PATH version: 13 updated: 2015/04/15 19:08:48 +dnl CF_HEADER_PATH version: 15 updated: 2021/01/01 13:31:04 dnl -------------- dnl Construct a search-list of directories for a nonstandard header-file dnl @@ -3608,7 +3608,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` CF_ADD_SUBDIR_PATH($1,$2,include,$cf_header_path,NONE) @@ -3624,15 +3624,15 @@ CF_SUBDIR_PATH($1,$2,include) test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && $1="[$]$1 $includedir" - test -d $includedir/$2 && $1="[$]$1 $includedir/$2" + test -d "$includedir" && $1="[$]$1 $includedir" + test -d "$includedir/$2" && $1="[$]$1 $includedir/$2" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && $1="[$]$1 $oldincludedir" - test -d $oldincludedir/$2 && $1="[$]$1 $oldincludedir/$2" + test -d "$oldincludedir" && $1="[$]$1 $oldincludedir" + test -d "$oldincludedir/$2" && $1="[$]$1 $oldincludedir/$2" } $1="[$]$1 $cf_header_path_list" @@ -3692,7 +3692,7 @@ else fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_INTEL_COMPILER version: 7 updated: 2015/04/12 15:39:00 +dnl CF_INTEL_COMPILER version: 8 updated: 2021/01/01 16:53:59 dnl ----------------- dnl Check if the given compiler is really the Intel compiler for Linux. It dnl tries to imitate gcc, but does not return an error when it finds a mismatch @@ -3710,7 +3710,7 @@ AC_REQUIRE([AC_CANONICAL_HOST]) ifelse([$2],,INTEL_COMPILER,[$2])=no if test "$ifelse([$1],,[$1],GCC)" = yes ; then - case $host_os in + case "$host_os" in (linux*|gnu*) AC_MSG_CHECKING(if this is really Intel ifelse([$1],GXX,C++,C) compiler) cf_save_CFLAGS="$ifelse([$3],,CFLAGS,[$3])" @@ -3780,7 +3780,7 @@ ifdef([AC_FUNC_FSEEKO],[ ]) ]) dnl --------------------------------------------------------------------------- -dnl CF_LASTLOG version: 6 updated: 2020/03/10 18:53:47 +dnl CF_LASTLOG version: 7 updated: 2021/01/02 09:31:20 dnl ---------- dnl Check for header defining _PATH_LASTLOG, or failing that, see if the lastlog dnl file exists. @@ -3804,10 +3804,10 @@ AC_TRY_COMPILE([ cf_cv_path_lastlog=no fi]) ]) -test $cf_cv_path_lastlog != no && AC_DEFINE(USE_LASTLOG,1,[Define to 1 if we can define lastlog pathname]) +test "$cf_cv_path_lastlog" != no && AC_DEFINE(USE_LASTLOG,1,[Define to 1 if we can define lastlog pathname]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_LD_RPATH_OPT version: 8 updated: 2018/08/18 16:36:35 +dnl CF_LD_RPATH_OPT version: 9 updated: 2021/01/01 13:31:04 dnl --------------- dnl For the given system and compiler, find the compiler flags to pass to the dnl loader to use the "rpath" feature. @@ -3819,7 +3819,7 @@ LD_RPATH_OPT= if test "x$cf_cv_enable_rpath" != xno then AC_MSG_CHECKING(for an rpath option) - case $cf_cv_system_name in + case "$cf_cv_system_name" in (irix*) if test "$GCC" = yes; then LD_RPATH_OPT="-Wl,-rpath," @@ -3864,7 +3864,7 @@ then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_LIBRARY_PATH version: 10 updated: 2015/04/15 19:08:48 +dnl CF_LIBRARY_PATH version: 11 updated: 2021/01/01 13:31:04 dnl --------------- dnl Construct a search-list of directories for a nonstandard library-file dnl @@ -3878,7 +3878,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` CF_ADD_SUBDIR_PATH($1,$2,lib,$cf_library_path,NONE) @@ -3893,7 +3893,7 @@ CF_SUBDIR_PATH($1,$2,lib) $1="$cf_library_path_list [$]$1" ])dnl dnl --------------------------------------------------------------------------- -dnl CF_LOCALE version: 5 updated: 2012/10/06 11:17:15 +dnl CF_LOCALE version: 6 updated: 2021/01/02 09:31:20 dnl --------- dnl Check if we have setlocale() and its header, <locale.h> dnl The optional parameter $1 tells what to do if we do have locale support. @@ -3907,10 +3907,10 @@ AC_TRY_LINK([#include <locale.h>], [cf_cv_locale=no]) ]) AC_MSG_RESULT($cf_cv_locale) -test $cf_cv_locale = yes && { ifelse($1,,AC_DEFINE(LOCALE,1,[Define to 1 if we have locale support]),[$1]) } +test "$cf_cv_locale" = yes && { ifelse($1,,AC_DEFINE(LOCALE,1,[Define to 1 if we have locale support]),[$1]) } ])dnl dnl --------------------------------------------------------------------------- -dnl CF_MAKEFLAGS version: 18 updated: 2018/02/21 21:26:03 +dnl CF_MAKEFLAGS version: 19 updated: 2020/12/31 20:19:42 dnl ------------ dnl Some 'make' programs support ${MAKEFLAGS}, some ${MFLAGS}, to pass 'make' dnl options to lower-levels. It's very useful for "make -n" -- if we have it. @@ -3930,7 +3930,7 @@ CF_EOF cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp 2>/dev/null | fgrep -v "ing directory" | sed -e 's,[[ ]]*$,,'` case "$cf_result" in (.*k|.*kw) - cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null` + cf_result="`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`" case "$cf_result" in (.*CC=*) cf_cv_makeflags= ;; @@ -3989,7 +3989,7 @@ AC_SUBST(MAKE_UPPER_TAGS) AC_SUBST(MAKE_LOWER_TAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_MATH_LIB version: 9 updated: 2017/01/21 11:06:25 +dnl CF_MATH_LIB version: 10 updated: 2020/12/31 18:40:20 dnl ----------- dnl Checks for libraries. At least one UNIX system, Apple Macintosh dnl Rhapsody 5.5, does not have -lm. We cannot use the simpler @@ -4003,7 +4003,7 @@ AC_CACHE_CHECK(if -lm needed for math functions, #include <stdlib.h> #include <math.h> ], - [double x = rand(); printf("result = %g\n", ]ifelse([$2],,sin(x),$2)[)], + [double x = rand(); printf("result = %g\\n", ]ifelse([$2],,sin(x),$2)[)], [cf_cv_need_libm=no], [cf_cv_need_libm=yes])]) if test "$cf_cv_need_libm" = yes @@ -4014,20 +4014,20 @@ ifelse($1,,[ fi ]) dnl --------------------------------------------------------------------------- -dnl CF_MERGE_EXTRA_CFLAGS version: 1 updated: 2020/09/01 04:19:14 +dnl CF_MERGE_EXTRA_CFLAGS version: 2 updated: 2021/01/02 09:31:20 dnl --------------------- dnl CF_FIX_WARNINGS moves problematic flags into EXTRA_CFLAGS, but some scripts dnl may depend on being able to override that variable at build-time. Move it dnl all back. define([CF_MERGE_EXTRA_CFLAGS],[ -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then CF_APPEND_TEXT(CFLAGS,$EXTRA_CFLAGS) EXTRA_CFLAGS= fi ]) dnl --------------------------------------------------------------------------- -dnl CF_MIXEDCASE_FILENAMES version: 8 updated: 2020/11/14 10:12:15 +dnl CF_MIXEDCASE_FILENAMES version: 9 updated: 2021/01/01 16:53:59 dnl ---------------------- dnl Check if the file-system supports mixed-case filenames. If we're able to dnl create a lowercase name and see it as uppercase, it doesn't support that. @@ -4035,7 +4035,7 @@ AC_DEFUN([CF_MIXEDCASE_FILENAMES], [ AC_CACHE_CHECK(if filesystem supports mixed-case filenames,cf_cv_mixedcase,[ if test "$cross_compiling" = yes ; then - case $target_alias in + case "$target_alias" in (*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*|darwin*) cf_cv_mixedcase=no ;; @@ -4094,7 +4094,7 @@ fi fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NCURSES_CC_CHECK version: 4 updated: 2007/07/29 10:39:05 +dnl CF_NCURSES_CC_CHECK version: 5 updated: 2020/12/31 20:19:42 dnl ------------------- dnl Check if we can compile with ncurses' header file dnl $1 is the cache variable to set @@ -4114,10 +4114,10 @@ AC_DEFUN([CF_NCURSES_CC_CHECK],[ make an error #endif ])[ -printf("%s\n", NCURSES_VERSION); +printf("%s\\n", NCURSES_VERSION); #else #ifdef __NCURSES_H -printf("old\n"); +printf("old\\n"); #else make an error #endif @@ -4127,7 +4127,7 @@ printf("old\n"); ,[$1=no]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NCURSES_CONFIG version: 23 updated: 2020/02/27 05:21:59 +dnl CF_NCURSES_CONFIG version: 25 updated: 2021/01/01 18:21:19 dnl ----------------- dnl Tie together the configure-script macros for ncurses, preferring these in dnl order: @@ -4153,10 +4153,10 @@ if test "x${PKG_CONFIG:=none}" != xnone; then cf_save_CPPFLAGS="$CPPFLAGS" cf_save_LIBS="$LIBS" - cf_pkg_cflags=`$PKG_CONFIG --cflags $cf_ncuconfig_root` - cf_pkg_libs=`$PKG_CONFIG --libs $cf_ncuconfig_root` + cf_pkg_cflags="`$PKG_CONFIG --cflags $cf_ncuconfig_root`" + cf_pkg_libs="`$PKG_CONFIG --libs $cf_ncuconfig_root`" - # while -W for passing linker flags is prevalent, it is not "standard". + # while -W for passing linker flags is prevalent, it is not "standard". # At least one wrapper for c89/c99 (in Apple's xcode) has its own # incompatible _and_ non-standard -W option which gives an error. Work # around that pitfall. @@ -4244,7 +4244,7 @@ if test "x$cf_have_ncuconfig" = "xno"; then AC_DEFINE_UNQUOTED($cf_nculib_ROOT) dnl like CF_NCURSES_VERSION - cf_cv_ncurses_version=`$NCURSES_CONFIG --version` + cf_cv_ncurses_version="`$NCURSES_CONFIG --version`" else @@ -4257,7 +4257,7 @@ else fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NCURSES_CPPFLAGS version: 21 updated: 2012/10/06 08:57:51 +dnl CF_NCURSES_CPPFLAGS version: 22 updated: 2021/01/02 09:31:20 dnl ------------------- dnl Look for the SVr4 curses clone 'ncurses' in the standard places, adjusting dnl the CPPFLAGS variable so we can include its header. @@ -4291,7 +4291,7 @@ test "$cf_cv_curses_dir" != "no" && { \ AC_CACHE_CHECK(for $cf_ncuhdr_root header in include-path, cf_cv_ncurses_h,[ cf_header_list="$cf_ncuhdr_root/curses.h $cf_ncuhdr_root/ncurses.h" - ( test "$cf_ncuhdr_root" = ncurses || test "$cf_ncuhdr_root" = ncursesw ) && cf_header_list="$cf_header_list curses.h ncurses.h" + { test "$cf_ncuhdr_root" = ncurses || test "$cf_ncuhdr_root" = ncursesw; } && cf_header_list="$cf_header_list curses.h ncurses.h" for cf_header in $cf_header_list do CF_NCURSES_CC_CHECK(cf_cv_ncurses_h,$cf_header,$1) @@ -4308,7 +4308,7 @@ AC_DEFINE(NCURSES,1,[Define to 1 if we are using ncurses headers/libraries]) CF_NCURSES_VERSION ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NCURSES_HEADER version: 4 updated: 2015/04/15 19:08:48 +dnl CF_NCURSES_HEADER version: 6 updated: 2021/01/02 09:31:20 dnl ----------------- dnl Find a "curses" header file, e.g,. "curses.h", or one of the more common dnl variations of ncurses' installs. @@ -4323,7 +4323,7 @@ else AC_CACHE_CHECK(for $cf_ncuhdr_root include-path, cf_cv_ncurses_h2,[ test -n "$verbose" && echo CF_HEADER_PATH(cf_search,$cf_ncuhdr_root) - test -n "$verbose" && echo search path $cf_search + test -n "$verbose" && echo "search path $cf_search" cf_save2_CPPFLAGS="$CPPFLAGS" for cf_incdir in $cf_search do @@ -4347,9 +4347,9 @@ AC_CACHE_CHECK(for $cf_ncuhdr_root include-path, cf_cv_ncurses_h2,[ ]) CF_DIRNAME(cf_1st_incdir,$cf_cv_ncurses_h2) - cf_cv_ncurses_header=`basename $cf_cv_ncurses_h2` - if test `basename $cf_1st_incdir` = $cf_ncuhdr_root ; then - cf_cv_ncurses_header=$cf_ncuhdr_root/$cf_cv_ncurses_header + cf_cv_ncurses_header="`basename "$cf_cv_ncurses_h2"`" + if test "`basename "$cf_1st_incdir"`" = "$cf_ncuhdr_root" ; then + cf_cv_ncurses_header="$cf_ncuhdr_root/$cf_cv_ncurses_header" fi CF_ADD_INCDIR($cf_1st_incdir) @@ -4357,13 +4357,13 @@ fi # Set definitions to allow ifdef'ing for ncurses.h -case $cf_cv_ncurses_header in +case "$cf_cv_ncurses_header" in (*ncurses.h) AC_DEFINE(HAVE_NCURSES_H,1,[Define to 1 if we have ncurses.h]) ;; esac -case $cf_cv_ncurses_header in +case "$cf_cv_ncurses_header" in (ncurses/curses.h|ncurses/ncurses.h) AC_DEFINE(HAVE_NCURSES_NCURSES_H,1,[Define to 1 if we have ncurses/ncurses.h]) ;; @@ -4374,7 +4374,7 @@ esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NCURSES_LIBS version: 17 updated: 2015/04/15 19:08:48 +dnl CF_NCURSES_LIBS version: 19 updated: 2021/01/02 09:31:20 dnl --------------- dnl Look for the ncurses library. This is a little complicated on Linux, dnl because it may be linked with the gpm (general purpose mouse) library. @@ -4400,7 +4400,7 @@ AC_CHECK_LIB(gpm,Gpm_Open, [LIBS="$cf_ncurses_SAVE"], [cf_ncurses_LIBS="-lgpm"])]) -case $host_os in +case "$host_os" in (freebsd*) # This is only necessary if you are linking against an obsolete # version of ncurses (but it should do no harm, since it's static). @@ -4412,7 +4412,7 @@ esac CF_ADD_LIBS($cf_ncurses_LIBS) -if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" ) +if test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" then CF_ADD_LIBS(-l$cf_nculib_root) else @@ -4426,7 +4426,7 @@ if test -n "$cf_ncurses_LIBS" ; then AC_MSG_CHECKING(if we can link $cf_nculib_root without $cf_ncurses_LIBS) cf_ncurses_SAVE="$LIBS" for p in $cf_ncurses_LIBS ; do - q=`echo $LIBS | sed -e "s%$p %%" -e "s%$p$%%"` + q=`echo "$LIBS" | sed -e "s%$p %%" -e "s%$p$%%"` if test "$q" != "$LIBS" ; then LIBS="$q" fi @@ -4442,7 +4442,7 @@ CF_UPPER(cf_nculib_ROOT,HAVE_LIB$cf_nculib_root) AC_DEFINE_UNQUOTED($cf_nculib_ROOT) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NCURSES_VERSION version: 15 updated: 2017/05/09 19:26:10 +dnl CF_NCURSES_VERSION version: 16 updated: 2020/12/31 20:19:42 dnl ------------------ dnl Check for the version of ncurses, to aid in reporting bugs, etc. dnl Call CF_CURSES_CPPFLAGS first, or CF_NCURSES_CPPFLAGS. We don't use @@ -4453,7 +4453,7 @@ AC_REQUIRE([CF_CURSES_CPPFLAGS])dnl AC_CACHE_CHECK(for ncurses version, cf_cv_ncurses_version,[ cf_cv_ncurses_version=no cf_tempfile=out$$ - rm -f $cf_tempfile + rm -f "$cf_tempfile" AC_TRY_RUN([ #include <${cf_cv_ncurses_header:-curses.h}> #include <stdio.h> @@ -4462,13 +4462,13 @@ int main(void) FILE *fp = fopen("$cf_tempfile", "w"); #ifdef NCURSES_VERSION # ifdef NCURSES_VERSION_PATCH - fprintf(fp, "%s.%d\n", NCURSES_VERSION, NCURSES_VERSION_PATCH); + fprintf(fp, "%s.%d\\n", NCURSES_VERSION, NCURSES_VERSION_PATCH); # else - fprintf(fp, "%s\n", NCURSES_VERSION); + fprintf(fp, "%s\\n", NCURSES_VERSION); # endif #else # ifdef __NCURSES_H - fprintf(fp, "old\n"); + fprintf(fp, "old\\n"); # else make an error # endif @@ -4479,7 +4479,7 @@ int main(void) # This will not work if the preprocessor splits the line after the # Autoconf token. The 'unproto' program does that. - cat > conftest.$ac_ext <<EOF + cat > "conftest.$ac_ext" <<EOF #include <${cf_cv_ncurses_header:-curses.h}> #undef Autoconf #ifdef NCURSES_VERSION @@ -4494,17 +4494,17 @@ EOF cf_try="$ac_cpp conftest.$ac_ext 2>&AC_FD_CC | grep '^Autoconf ' >conftest.out" AC_TRY_EVAL(cf_try) if test -f conftest.out ; then - cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[[^"]]*"%%' -e 's%".*%%'` + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[[^"]]*"%%' -e 's%".*%%' conftest.out` test -n "$cf_out" && cf_cv_ncurses_version="$cf_out" rm -f conftest.out fi ]) - rm -f $cf_tempfile + rm -f "$cf_tempfile" ]) test "$cf_cv_ncurses_version" = no || AC_DEFINE(NCURSES,1,[Define to 1 if we are using ncurses headers/libraries]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NETLIBS version: 11 updated: 2015/04/15 19:08:48 +dnl CF_NETLIBS version: 12 updated: 2021/01/02 09:31:20 dnl ---------- dnl After checking for functions in the default $LIBS, make a further check dnl for the functions that are netlib-related (these aren't always in the @@ -4527,7 +4527,7 @@ AC_MSG_RESULT(working...) cf_cv_netlibs="" cf_test_netlibs=yes -case $host_os in +case "$host_os" in (mingw*) AC_CHECK_HEADERS( windows.h winsock.h winsock2.h ) @@ -4589,14 +4589,14 @@ case $host_os in esac ]) -case $cf_cv_netlibs in +case "$cf_cv_netlibs" in (*ws2_32*) AC_DEFINE(USE_WINSOCK2_H,1,[Define to 1 if we should include winsock2.h]) ;; esac CF_ADD_LIBS($cf_cv_netlibs) -test $cf_test_netlibs = no && echo "$cf_cv_netlibs" >&AC_FD_MSG +test "$cf_test_netlibs" = no && echo "$cf_cv_netlibs" >&AC_FD_MSG ])dnl dnl --------------------------------------------------------------------------- dnl CF_NGROUPS version: 4 updated: 2012/11/08 20:57:52 @@ -4635,7 +4635,7 @@ elif test "$cf_cv_ngroups" = NGROUPS_MAX ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NO_LEAKS_OPTION version: 6 updated: 2015/04/12 15:39:00 +dnl CF_NO_LEAKS_OPTION version: 7 updated: 2020/12/31 18:40:20 dnl ------------------ dnl see CF_WITH_NO_LEAKS AC_DEFUN([CF_NO_LEAKS_OPTION],[ @@ -4645,13 +4645,13 @@ AC_ARG_WITH($1, [AC_DEFINE_UNQUOTED($3,1,"Define to 1 if you want to use $1 for testing.")ifelse([$4],,[ $4 ]) - : ${with_cflags:=-g} - : ${with_no_leaks:=yes} + : "${with_cflags:=-g}" + : "${with_no_leaks:=yes}" with_$1=yes], [with_$1=]) AC_MSG_RESULT(${with_$1:-no}) -case .$with_cflags in +case ".$with_cflags" in (.*-g*) case .$CFLAGS in (.*-g*) @@ -4664,7 +4664,7 @@ case .$with_cflags in esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_NSS_COMPAT version: 6 updated: 2020/01/18 12:30:18 +dnl CF_NSS_COMPAT version: 7 updated: 2021/01/02 09:31:20 dnl ------------- dnl Check for NSS compatible SSL libraries dnl $1 = the [optional] directory in which the library may be found @@ -4687,7 +4687,7 @@ case "$1" in (yes) AC_CHECK_LIB(nss_compat_ossl, SSL_get_version,[],[ cf_ssl_root=/usr/local/nss_compat_ossl - if test -d $cf_ssl_root ; then + if test -d "$cf_ssl_root" ; then CF_VERBOSE(assume it is in $cf_ssl_root) cf_ssl_library="-L$cf_ssl_root/lib $cf_ssl_library" else @@ -4697,10 +4697,10 @@ case "$1" in [-lnss_compat_ossl]) ;; (*) - if test -d $1 ; then - if test -d $1/include ; then + if test -d "$1" ; then + if test -d "$1/include" ; then cf_ssl_root=$1 - elif test -d $1/../include ; then + elif test -d "$1/../include" ; then cf_ssl_root=$1/.. else AC_MSG_ERROR(cannot find NSS compliant library under $1) @@ -4715,9 +4715,9 @@ CF_ADD_LIBS($cf_ssl_library) cf_ssl_subincs=yes if test -n "$cf_ssl_root" ; then - if test -d $cf_ssl_root/include ; then + if test -d "$cf_ssl_root/include" ; then cf_ssl_cflags="-I$cf_ssl_root/include $cf_ssl_cflags" - test -d $cf_ssl_root/include/nss_compat_ossl || cf_ssl_subincs=no + test -d "$cf_ssl_root/include/nss_compat_ossl" || cf_ssl_subincs=no fi fi CF_ADD_CFLAGS($cf_ssl_cflags) @@ -4755,7 +4755,7 @@ else fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_OUR_MESSAGES version: 7 updated: 2004/09/12 19:45:55 +dnl CF_OUR_MESSAGES version: 8 updated: 2021/01/02 09:31:20 dnl --------------- dnl Check if we use the messages included with this program dnl @@ -4771,7 +4771,7 @@ cf_makefile=ifelse($1,,Makefile,$1) use_our_messages=no if test "$USE_NLS" = yes ; then -if test -d $srcdir/po ; then +if test -d "$srcdir/po" ; then AC_MSG_CHECKING(if we should use included message-library) AC_ARG_ENABLE(included-msgs, [ --disable-included-msgs use included messages, for i18n support], @@ -4792,14 +4792,14 @@ AC_SUBST(MSG_DIR_MAKE) AC_SUBST(SUB_MAKEFILE) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PATHSEP version: 7 updated: 2015/04/12 15:39:00 +dnl CF_PATHSEP version: 8 updated: 2021/01/01 13:31:04 dnl ---------- dnl Provide a value for the $PATH and similar separator (or amend the value dnl as provided in autoconf 2.5x). AC_DEFUN([CF_PATHSEP], [ AC_MSG_CHECKING(for PATH separator) - case $cf_cv_system_name in + case "$cf_cv_system_name" in (os2*) PATH_SEPARATOR=';' ;; (*) ${PATH_SEPARATOR:=':'} ;; esac @@ -4808,7 +4808,7 @@ ifelse([$1],,,[$1=$PATH_SEPARATOR]) AC_MSG_RESULT($PATH_SEPARATOR) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PATH_PROG version: 10 updated: 2019/06/30 19:44:43 +dnl CF_PATH_PROG version: 12 updated: 2021/01/02 09:31:20 dnl ------------ dnl Check for a given program, defining corresponding symbol. dnl $1 = environment variable, which is suffixed by "_PATH" in the #define. @@ -4823,7 +4823,7 @@ dnl FIXME: we should allow this to be overridden by environment variables dnl AC_DEFUN([CF_PATH_PROG],[ AC_REQUIRE([CF_PATHSEP]) -test -z "[$]$1" && $1=$2 +test -z "[$]$1" && $1="$2" AC_PATH_PROGS($1,[$]$1 $2 ifelse($3,,,$3),[$]$1, ifelse($4,,,$4)) cf_path_prog="" @@ -4836,7 +4836,7 @@ do CF_PATH_SYNTAX(cf_temp,break) cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -4853,7 +4853,7 @@ if test -n "$cf_path_prog" ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PATH_SYNTAX version: 16 updated: 2015/04/18 08:56:57 +dnl CF_PATH_SYNTAX version: 18 updated: 2020/12/31 18:40:20 dnl -------------- dnl Check the argument to see that it looks like a pathname. Rewrite it if it dnl begins with one of the prefix/exec_prefix variables, and then again if the @@ -4873,16 +4873,16 @@ case ".[$]$1" in ;; (.[[a-zA-Z]]:[[\\/]]*) # OS/2 EMX ;; -(.\[$]{*prefix}*|.\[$]{*dir}*) +(.\[$]\{*prefix\}*|.\[$]\{*dir\}*) eval $1="[$]$1" case ".[$]$1" in (.NONE/*) - $1=`echo [$]$1 | sed -e s%NONE%$cf_path_syntax%` + $1=`echo "[$]$1" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - $1=`echo [$]$1 | sed -e s%NONE%$cf_path_syntax%` + $1=`echo "[$]$1" | sed -e s%NONE%$cf_path_syntax%` ;; (*) ifelse([$2],,[AC_MSG_ERROR([expected a pathname, not \"[$]$1\"])],$2) @@ -4906,7 +4906,7 @@ AC_CHECK_LIB(pdcurses,initscr,[ ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PDCURSES_X11 version: 14 updated: 2018/06/20 20:23:13 +dnl CF_PDCURSES_X11 version: 15 updated: 2021/01/02 09:31:20 dnl --------------- dnl Configure for PDCurses' X11 library AC_DEFUN([CF_PDCURSES_X11],[ @@ -4942,7 +4942,7 @@ char *XCursesProgramName = "test"; fi -if test $cf_cv_lib_XCurses = yes ; then +if test "$cf_cv_lib_XCurses" = yes ; then AC_DEFINE(UNIX,1,[Define to 1 if using PDCurses on Unix]) AC_DEFINE(XCURSES,1,[Define to 1 if using PDCurses on Unix]) AC_CHECK_HEADER(xcurses.h, AC_DEFINE(HAVE_XCURSES,1,[Define to 1 if using PDCurses on Unix])) @@ -4951,7 +4951,7 @@ else fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PKG_CONFIG version: 10 updated: 2015/04/26 18:06:58 +dnl CF_PKG_CONFIG version: 11 updated: 2021/01/01 13:31:04 dnl ------------- dnl Check for the package-config program, unless disabled by command-line. AC_DEFUN([CF_PKG_CONFIG], @@ -4963,7 +4963,7 @@ AC_ARG_WITH(pkg-config, [cf_pkg_config=yes]) AC_MSG_RESULT($cf_pkg_config) -case $cf_pkg_config in +case "$cf_pkg_config" in (no) PKG_CONFIG=none ;; @@ -5148,13 +5148,13 @@ then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_PROG_EXT version: 14 updated: 2018/06/20 20:23:13 +dnl CF_PROG_EXT version: 15 updated: 2021/01/02 09:31:20 dnl ----------- dnl Compute $PROG_EXT, used for non-Unix ports, such as OS/2 EMX. AC_DEFUN([CF_PROG_EXT], [ AC_REQUIRE([CF_CHECK_CACHE]) -case $cf_cv_system_name in +case "$cf_cv_system_name" in (os2*) CFLAGS="$CFLAGS -Zmt" CF_APPEND_TEXT(CPPFLAGS,-D__ST_MT_ERRNO__) @@ -5280,7 +5280,7 @@ CFLAGS="$cf_save_CFLAGS_$1" CPPFLAGS="$cf_save_CPPFLAGS_$1" ])dnl dnl --------------------------------------------------------------------------- -dnl CF_RPATH_HACK version: 11 updated: 2013/09/01 13:02:00 +dnl CF_RPATH_HACK version: 12 updated: 2020/12/31 10:54:15 dnl ------------- AC_DEFUN([CF_RPATH_HACK], [ @@ -5297,8 +5297,8 @@ if test -n "$LD_RPATH_OPT" ; then AC_TRY_LINK([#include <stdio.h>], [printf("Hello");], - [cf_rpath_oops=`$cf_ldd_prog conftest$ac_exeext | fgrep ' not found' | sed -e 's% =>.*$%%' |sort | uniq` - cf_rpath_list=`$cf_ldd_prog conftest$ac_exeext | fgrep / | sed -e 's%^.*[[ ]]/%/%' -e 's%/[[^/]][[^/]]*$%%' |sort | uniq`]) + [cf_rpath_oops=`"$cf_ldd_prog" "conftest$ac_exeext" | fgrep ' not found' | sed -e 's% =>.*$%%' |sort | uniq` + cf_rpath_list=`"$cf_ldd_prog" "conftest$ac_exeext" | fgrep / | sed -e 's%^.*[[ ]]/%/%' -e 's%/[[^/]][[^/]]*$%%' |sort | uniq`]) # If we passed the link-test, but get a "not found" on a given library, # this could be due to inept reconfiguration of gcc to make it only @@ -5314,7 +5314,7 @@ AC_TRY_LINK([#include <stdio.h>], /usr/pkg \ /opt/sfw do - if test -f $cf_rpath_dir/lib/$cf_rpath_src + if test -f "$cf_rpath_dir/lib/$cf_rpath_src" then CF_VERBOSE(...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src) LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib" @@ -5337,7 +5337,7 @@ fi AC_SUBST(EXTRA_LDFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_RPATH_HACK_2 version: 7 updated: 2015/04/12 15:39:00 +dnl CF_RPATH_HACK_2 version: 8 updated: 2021/01/01 13:31:04 dnl --------------- dnl Do one set of substitutions for CF_RPATH_HACK, adding an rpath option to dnl EXTRA_LDFLAGS for each -L option found. @@ -5353,7 +5353,7 @@ CF_VERBOSE(...checking $1 [$]$1) cf_rpath_dst= for cf_rpath_src in [$]$1 do - case $cf_rpath_src in + case "$cf_rpath_src" in (-L*) # check if this refers to a directory which we will ignore @@ -5446,7 +5446,7 @@ int main(void) test "$cf_cv_set_errno" != no && AC_DEFINE(CAN_SET_ERRNO,1,[Define to 1 if we can set errno]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SIGWINCH version: 3 updated: 2020/03/10 18:53:47 +dnl CF_SIGWINCH version: 6 updated: 2021/01/01 13:31:04 dnl ----------- dnl Use this macro after CF_XOPEN_SOURCE, but do not require it (not all dnl programs need this test). @@ -5479,7 +5479,7 @@ if test "$cf_cv_define_sigwinch" = maybe ; then AC_CACHE_CHECK(for actual SIGWINCH definition,cf_cv_fixup_sigwinch,[ cf_cv_fixup_sigwinch=unknown cf_sigwinch=32 -while test $cf_sigwinch != 1 +while test "$cf_sigwinch" != 1 do AC_TRY_COMPILE([ #undef _XOPEN_SOURCE @@ -5495,7 +5495,7 @@ int x = SIGWINCH; (void)x], [cf_cv_fixup_sigwinch=$cf_sigwinch break]) -cf_sigwinch=`expr $cf_sigwinch - 1` +cf_sigwinch="`expr "$cf_sigwinch" - 1`" done ]) @@ -5505,7 +5505,7 @@ done fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SIZECHANGE version: 16 updated: 2020/03/19 20:46:13 +dnl CF_SIZECHANGE version: 17 updated: 2021/01/01 13:31:04 dnl ------------- dnl Check for definitions & structures needed for window size-changing dnl @@ -5577,7 +5577,7 @@ done ]) if test "$cf_cv_sizechange" != no ; then AC_DEFINE(HAVE_SIZECHANGE,1,[Define to 1 if sizechange declarations are provided]) - case $cf_cv_sizechange in + case "$cf_cv_sizechange" in (NEED*) AC_DEFINE_UNQUOTED($cf_cv_sizechange ) ;; @@ -5585,7 +5585,7 @@ if test "$cf_cv_sizechange" != no ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SLANG_CPPFLAGS version: 11 updated: 2015/04/15 19:08:48 +dnl CF_SLANG_CPPFLAGS version: 12 updated: 2021/01/02 09:31:20 dnl ----------------- dnl Look for the slang header files in the standard places, adjusting the dnl CPPFLAGS variable. @@ -5596,7 +5596,7 @@ AC_DEFUN([CF_SLANG_CPPFLAGS], AC_CACHE_CHECK(for $1 header file,cf_cv_$1_header,[ cf_cv_$1_header=no AC_TRY_COMPILE([#include <slang.h>], - [printf("%s\n", SLANG_VERSION)], + [printf("%s\\n", SLANG_VERSION)], [cf_cv_$1_header=predefined],[ CF_HEADER_PATH(cf_search,$1) for cf_incdir in $cf_search @@ -5604,8 +5604,8 @@ AC_CACHE_CHECK(for $1 header file,cf_cv_$1_header,[ for cf_header in \ slang.h do - echo trying $cf_incdir/$cf_header 1>&AC_FD_CC - if egrep "SLANG_VERSION" $cf_incdir/$cf_header 1>&AC_FD_CC 2>&1; then + echo trying "$cf_incdir/$cf_header" 1>&AC_FD_CC + if egrep "SLANG_VERSION" "$cf_incdir/$cf_header" 1>&AC_FD_CC 2>&1; then cf_cv_$1_header=$cf_incdir/$cf_header break fi @@ -5620,7 +5620,7 @@ then CF_DIRNAME(cf_incdir,$cf_cv_$1_header) - case $cf_cv_$1_header in + case "$cf_cv_$1_header" in (predefined) ;; (*) @@ -5630,7 +5630,7 @@ then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SLANG_LIBS version: 9 updated: 2015/04/15 19:08:48 +dnl CF_SLANG_LIBS version: 10 updated: 2021/01/02 09:31:20 dnl ------------- dnl Look for the slang library. dnl @@ -5641,7 +5641,7 @@ cf_slang_LIBS1="$LIBS" CF_TERMCAP_LIBS cf_slang_LIBS2="$LIBS" AC_CHECK_FUNC(acos,,[CF_RECHECK_FUNC(acos,m,LIBS)]) -case $host_os in +case "$host_os" in (os2*) CF_FIND_LIBRARY(video,video, [#include <sys/video.h>], @@ -5655,7 +5655,7 @@ CF_FIND_LIBRARY($1,$1, SLtt_get_screen_size) cf_slang_LIBS3="$LIBS" AC_MSG_CHECKING(if we can link $1 without termcap) -if test -n "`echo $cf_slang_LIBS1 | sed -e 's/ //g'`" ; then +if test -n "`echo "$cf_slang_LIBS1" | sed -e 's/ //g'`" ; then cf_exclude=`echo ".$cf_slang_LIBS2" | sed -e "s%$cf_slang_LIBS1%%" -e 's%^.%%'` else cf_exclude="$cf_slang_LIBS2" @@ -5666,10 +5666,10 @@ AC_TRY_LINK([#include <slang.h>], [cf_result=yes], [cf_result=no]) AC_MSG_RESULT($cf_result) -test $cf_result = no && LIBS="$cf_slang_LIBS3" +test "$cf_result" = no && LIBS="$cf_slang_LIBS3" ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SLANG_UNIX_DEFS version: 6 updated: 2012/11/08 20:57:52 +dnl CF_SLANG_UNIX_DEFS version: 7 updated: 2021/01/02 09:31:20 dnl ------------------ dnl Slang's header files rely on some predefined symbols to declare variables dnl that we might find useful. This check is needed, because those symbols @@ -5723,7 +5723,7 @@ SLang_TT_Baud_Rate = 1 [cf_cv_slang_unix=yes], [cf_cv_slang_unix=no]) ]) -test $cf_cv_slang_unix = yes && AC_DEFINE(REAL_UNIX_SYSTEM,1,[Define to 1 if we must define REAL_UNIX_SYSTEM to compile with s-lang headers]) +test "$cf_cv_slang_unix" = yes && AC_DEFINE(REAL_UNIX_SYSTEM,1,[Define to 1 if we must define REAL_UNIX_SYSTEM to compile with s-lang headers]) CF_CHECK_TYPE(SLsmg_Color_Type,int,[#include <slang.h>]) CF_CHECK_TYPE(SLtt_Char_Type,unsigned long,[#include <slang.h>]) @@ -5811,7 +5811,7 @@ AC_MSG_RESULT($cf_use_socks5p_h) test "$cf_use_socks5p_h" = yes && AC_DEFINE(INCLUDE_PROTOTYPES,1,[Define to 1 if needed to declare prototypes in socks headers]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SRAND version: 14 updated: 2020/07/30 16:32:36 +dnl CF_SRAND version: 15 updated: 2021/01/02 09:31:20 dnl -------- dnl Check for functions similar to srand() and rand(). lrand48() and random() dnl return a 31-bit value, while rand() returns a value less than RAND_MAX @@ -5844,7 +5844,7 @@ done ]) if test "$cf_cv_srand_func" != unknown ; then AC_CACHE_CHECK(for range of random-integers, cf_cv_rand_max,[ - case $cf_cv_srand_func in + case "$cf_cv_srand_func" in (srand/rand) cf_cv_rand_max=RAND_MAX cf_rand_max=16 @@ -5869,7 +5869,7 @@ if test "$cf_cv_srand_func" != unknown ; then [cf_cv_rand_max="(1UL<<$cf_rand_max)-1"]) ]) - case $cf_cv_srand_func in + case "$cf_cv_srand_func" in (*/arc4random) AC_MSG_CHECKING(if <bsd/stdlib.h> should be included) AC_TRY_COMPILE([#include <bsd/stdlib.h>], @@ -5929,7 +5929,7 @@ define([CF_SRAND_PARSE],[ esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SSL version: 25 updated: 2015/04/15 19:08:48 +dnl CF_SSL version: 26 updated: 2021/01/02 09:31:20 dnl ------ dnl Check for ssl library dnl $1 = [optional] directory in which the library may be found, set by AC_ARG_WITH @@ -5942,7 +5942,7 @@ AC_DEFUN([CF_SSL],[ CF_ADD_OPTIONAL_PATH($1, [ssl library]) if test "x$PKG_CONFIG" != xnone; then - case $1 in + case "$1" in (no) ;; (yes) # if no explicit directory given, try pkg-config @@ -5986,7 +5986,7 @@ AC_DEFUN([CF_SSL],[ cf_cv_header_path_ssl=/usr/include fi - if test -d $cf_cv_header_path_ssl/openssl ; then + if test -d "$cf_cv_header_path_ssl/openssl" ; then cf_cv_header_path_ssl=$cf_cv_header_path_ssl/openssl fi @@ -6008,7 +6008,7 @@ AC_DEFUN([CF_SSL],[ fi if test "$cf_cv_have_ssl" != yes; then - case $host_os in + case "$host_os" in (mingw*) cf_extra_ssl_libs="-lcrypto -lgdi32" ;; @@ -6041,7 +6041,7 @@ AC_DEFUN([CF_SSL],[ fi CF_ADD_LIBS(-lssl $cf_extra_ssl_libs) if test -n "$cf_cv_header_path_ssl" ; then - case $cf_cv_header_path_ssl in + case "$cf_cv_header_path_ssl" in (/usr/include/openssl) ;; (*) @@ -6057,7 +6057,7 @@ AC_DEFUN([CF_SSL],[ AC_DEFINE(USE_SSL,1,[Define to 1 if we are using SSL]) if test -n "$cf_cv_header_path_ssl" ; then CF_VERBOSE(checking ssl header-path $cf_cv_header_path_ssl) - case $cf_cv_header_path_ssl in + case "$cf_cv_header_path_ssl" in (*/openssl) AC_DEFINE(USE_OPENSSL_INCL,1,[Define to 1 if we are using OpenSSL headers]) ;; @@ -6067,17 +6067,17 @@ AC_DEFUN([CF_SSL],[ fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_STRIP_G_OPT version: 3 updated: 2002/12/21 19:25:52 +dnl CF_STRIP_G_OPT version: 4 updated: 2021/01/02 09:31:20 dnl -------------- dnl Remove "-g" option from the compiler options AC_DEFUN([CF_STRIP_G_OPT], -[$1=`echo ${$1} | sed -e 's%-g %%' -e 's%-g$%%'`])dnl +[$1=`echo "${$1}" | CF__SED_TRIMBLANKS(-e 's%-g %%' -e 's%-g$%%')`])dnl dnl --------------------------------------------------------------------------- -dnl CF_STRIP_O_OPT version: 3 updated: 2001/02/02 19:06:08 +dnl CF_STRIP_O_OPT version: 4 updated: 2021/01/02 09:31:20 dnl -------------- dnl Remove "-O" option from the compiler options AC_DEFUN([CF_STRIP_O_OPT],[ -$1=`echo ${$1} | sed -e 's/-O[[1-9]]\? //' -e 's/-O[[1-9]]\?$//'` +$1=`echo "${$1}" | CF__SED_TRIMBLANKS(-e 's%-O[[1-9]]\? %%' -e 's%-O[[1-9]]\?$%%')` ])dnl dnl --------------------------------------------------------------------------- dnl CF_STRUCT_TERMIOS version: 11 updated: 2020/03/19 20:46:13 @@ -6141,13 +6141,13 @@ do done ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SYSTEM_MAIL_FLAGS version: 5 updated: 2015/04/15 19:08:48 +dnl CF_SYSTEM_MAIL_FLAGS version: 6 updated: 2021/01/02 09:31:20 dnl -------------------- AC_DEFUN([CF_SYSTEM_MAIL_FLAGS], [ AC_MSG_CHECKING([system mail flags]) AC_CACHE_VAL(cf_cv_system_mail_flags,[ - case $cf_cv_SYSTEM_MAIL in + case "$cf_cv_SYSTEM_MAIL" in (*/mmdf/*) [cf_cv_system_mail_flags="-mlruxto,cc\\\\*"] ;; @@ -6159,7 +6159,7 @@ AC_MSG_RESULT($cf_cv_system_mail_flags) AC_DEFINE_UNQUOTED(SYSTEM_MAIL_FLAGS, "$cf_cv_system_mail_flags",[Define to value used for system mail-flags]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SYSV_UTMP version: 6 updated: 2012/10/04 20:12:20 +dnl CF_SYSV_UTMP version: 7 updated: 2021/01/02 09:31:20 dnl ------------ dnl Check if this is a SYSV flavor of UTMP AC_DEFUN([CF_SYSV_UTMP], @@ -6177,7 +6177,7 @@ struct $cf_cv_have_utmp x; [cf_cv_sysv_utmp=yes], [cf_cv_sysv_utmp=no]) ]) -test $cf_cv_sysv_utmp = yes && AC_DEFINE(USE_SYSV_UTMP,1,[Define to 1 if utmp is SYSV flavor]) +test "$cf_cv_sysv_utmp" = yes && AC_DEFINE(USE_SYSV_UTMP,1,[Define to 1 if utmp is SYSV flavor]) ])dnl dnl --------------------------------------------------------------------------- dnl CF_SYS_ERRLIST version: 6 updated: 2001/12/30 13:03:23 @@ -6284,7 +6284,7 @@ if test "$cf_cv_termlib" = none; then fi ])])dnl dnl --------------------------------------------------------------------------- -dnl CF_TERMIO_AND_CURSES version: 5 updated: 2012/11/08 20:57:52 +dnl CF_TERMIO_AND_CURSES version: 6 updated: 2021/01/02 09:31:20 dnl -------------------- dnl Check if including termio.h with <curses.h> dies like on sysv68 dnl FIXME: this is too Lynx-specific @@ -6304,10 +6304,10 @@ AC_CACHE_CHECK(if we can include termio.h with curses,cf_cv_termio_and_curses,[ rm -f lynx_cfg.h ]) -test $cf_cv_termio_and_curses = yes && AC_DEFINE(TERMIO_AND_CURSES,1,[Define to 1 if we can include termio.h with curses.h]) +test "$cf_cv_termio_and_curses" = yes && AC_DEFINE(TERMIO_AND_CURSES,1,[Define to 1 if we can include termio.h with curses.h]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_TERMIO_AND_TERMIOS version: 3 updated: 2012/11/08 20:57:52 +dnl CF_TERMIO_AND_TERMIOS version: 4 updated: 2021/01/02 09:31:20 dnl --------------------- dnl Check if including both termio.h and termios.h die like on DG.UX AC_DEFUN([CF_TERMIO_AND_TERMIOS], @@ -6325,17 +6325,17 @@ AC_CACHE_VAL(cf_cv_termio_and_termios,[ [cf_cv_termio_and_termios=yes], [cf_cv_termio_and_termios=no])]) AC_MSG_RESULT($cf_cv_termio_and_termios) -test $cf_cv_termio_and_termios = no && AC_DEFINE(TERMIO_AND_TERMIOS,1,[Define to 1 if we can include termio.h and termios.h]) +test "$cf_cv_termio_and_termios" = no && AC_DEFINE(TERMIO_AND_TERMIOS,1,[Define to 1 if we can include termio.h and termios.h]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_TERM_HEADER version: 5 updated: 2020/03/19 20:23:48 +dnl CF_TERM_HEADER version: 6 updated: 2021/01/02 09:31:20 dnl -------------- dnl Look for term.h, which is part of X/Open curses. It defines the interface dnl to terminfo database. Usually it is in the same include-path as curses.h, dnl but some packagers change this, breaking various applications. AC_DEFUN([CF_TERM_HEADER],[ AC_CACHE_CHECK(for terminfo header, cf_cv_term_header,[ -case ${cf_cv_ncurses_header} in +case "${cf_cv_ncurses_header}" in (*/ncurses.h|*/ncursesw.h) cf_term_header=`echo "$cf_cv_ncurses_header" | sed -e 's%ncurses[[^.]]*\.h$%term.h%'` ;; @@ -6359,13 +6359,13 @@ done # Set definitions to allow ifdef'ing to accommodate subdirectories -case $cf_cv_term_header in +case "$cf_cv_term_header" in (*term.h) AC_DEFINE(HAVE_TERM_H,1,[Define to 1 if we have term.h]) ;; esac -case $cf_cv_term_header in +case "$cf_cv_term_header" in (ncurses/term.h) AC_DEFINE(HAVE_NCURSES_TERM_H,1,[Define to 1 if we have ncurses/term.h]) ;; @@ -6375,7 +6375,7 @@ case $cf_cv_term_header in esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_TM_GMTOFF version: 3 updated: 2012/11/08 20:57:52 +dnl CF_TM_GMTOFF version: 4 updated: 2021/01/02 09:31:20 dnl ------------ dnl Check if the tm-struct defines the '.tm_gmtoff' member (useful in decoding dnl dates). @@ -6400,7 +6400,7 @@ AC_CACHE_VAL(cf_cv_tm_gmtoff,[ [cf_cv_tm_gmtoff=yes], [cf_cv_tm_gmtoff=no])]) AC_MSG_RESULT($cf_cv_tm_gmtoff) -test $cf_cv_tm_gmtoff = no && AC_DEFINE(DONT_HAVE_TM_GMTOFF,1,[Define to 1 if the tm-struct defines .tm_gmtoff member]) +test "$cf_cv_tm_gmtoff" = no && AC_DEFINE(DONT_HAVE_TM_GMTOFF,1,[Define to 1 if the tm-struct defines .tm_gmtoff member]) ])dnl dnl --------------------------------------------------------------------------- dnl CF_TRIM_X_LIBS version: 3 updated: 2015/04/12 15:39:00 @@ -6419,21 +6419,21 @@ AC_DEFUN([CF_TRIM_X_LIBS],[ done ]) dnl --------------------------------------------------------------------------- -dnl CF_TRY_PKG_CONFIG version: 5 updated: 2013/07/06 21:27:06 +dnl CF_TRY_PKG_CONFIG version: 6 updated: 2020/12/31 10:54:15 dnl ----------------- dnl This is a simple wrapper to use for pkg-config, for libraries which may be dnl available in that form. dnl -dnl $1 = package name +dnl $1 = package name, which may be a shell variable dnl $2 = extra logic to use, if any, after updating CFLAGS and LIBS dnl $3 = logic to use if pkg-config does not have the package AC_DEFUN([CF_TRY_PKG_CONFIG],[ AC_REQUIRE([CF_PKG_CONFIG]) -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists $1; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "$1"; then CF_VERBOSE(found package $1) - cf_pkgconfig_incs="`$PKG_CONFIG --cflags $1 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs $1 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "$1" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "$1" 2>/dev/null`" CF_VERBOSE(package $1 CFLAGS: $cf_pkgconfig_incs) CF_VERBOSE(package $1 LIBS: $cf_pkgconfig_libs) CF_ADD_CFLAGS($cf_pkgconfig_incs) @@ -6446,7 +6446,7 @@ else fi ]) dnl --------------------------------------------------------------------------- -dnl CF_TRY_RPATH version: 1 updated: 2018/02/21 21:26:03 +dnl CF_TRY_RPATH version: 2 updated: 2021/01/02 09:31:20 dnl ------------ dnl Work around broken-by-design packaging systems which solve at most the dnl problem of building packages, without providing for library reuse... @@ -6457,7 +6457,7 @@ then CF_VERBOSE(will not attempt to use rpath) elif test "x${enable_rpath_hack:-yes}" = "xno" then - CF_VERBOSE("rpath is disabled) + CF_VERBOSE(rpath is disabled) elif test -z "${LD_RUN_PATH}${LD_LIBRARY_PATH}" then case "$LIBS" in @@ -6549,7 +6549,7 @@ if test "$cf_cv_xopen_source" != no ; then fi ]) dnl --------------------------------------------------------------------------- -dnl CF_TTYTYPE version: 6 updated: 2012/11/08 20:57:52 +dnl CF_TTYTYPE version: 7 updated: 2021/01/02 09:31:20 dnl ---------- AC_DEFUN([CF_TTYTYPE], [ @@ -6561,10 +6561,10 @@ AC_CACHE_VAL(cf_cv_have_ttytype,[ [cf_cv_have_ttytype=no]) ]) AC_MSG_RESULT($cf_cv_have_ttytype) -test $cf_cv_have_ttytype = yes && AC_DEFINE(HAVE_TTYTYPE,1,[Define to 1 if ttytype is declared in curses library]) +test "$cf_cv_have_ttytype" = yes && AC_DEFINE(HAVE_TTYTYPE,1,[Define to 1 if ttytype is declared in curses library]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_TYPE_LONG_LONG version: 3 updated: 2012/11/08 20:57:52 +dnl CF_TYPE_LONG_LONG version: 4 updated: 2021/01/02 09:31:20 dnl ----------------- dnl Check for long long type. AC_DEFUN([CF_TYPE_LONG_LONG],[ @@ -6580,11 +6580,11 @@ main (void) _CFEOF (eval [$]ac_compile) 2>conftest.err ac_status=$? - if test $ac_status = 0 && test -s conftest.err + if test "$ac_status" = 0 && test -s conftest.err then fgrep warning conftest.err >/dev/null 2>&1 && ac_status=1 fi - if test $ac_status != 0 + if test "$ac_status" != 0 then cf_cv_type_long_long=no else @@ -6599,7 +6599,7 @@ if test "$cf_cv_type_long_long" = yes ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_UNION_WAIT version: 7 updated: 2020/03/19 20:23:48 +dnl CF_UNION_WAIT version: 8 updated: 2021/01/02 09:31:20 dnl ------------- dnl Check to see if the BSD-style union wait is declared. Some platforms may dnl use this, though it is deprecated in favor of the 'int' type in Posix. @@ -6652,7 +6652,7 @@ AC_CACHE_VAL(cf_cv_type_unionwait,[ ], [cf_cv_type_unionwait=no])])]) AC_MSG_RESULT($cf_cv_type_unionwait) -test $cf_cv_type_unionwait = yes && AC_DEFINE(HAVE_TYPE_UNIONWAIT,1,[Define to 1 if type unionwait is declared]) +test "$cf_cv_type_unionwait" = yes && AC_DEFINE(HAVE_TYPE_UNIONWAIT,1,[Define to 1 if type unionwait is declared]) ])dnl dnl --------------------------------------------------------------------------- dnl CF_UPPER version: 5 updated: 2001/01/29 23:40:59 @@ -6690,7 +6690,7 @@ if test "$cf_cv_utf8_lib" = "add-on" ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_UTMP version: 11 updated: 2020/03/10 18:53:47 +dnl CF_UTMP version: 12 updated: 2021/01/02 09:31:20 dnl ------- dnl Check for UTMP/UTMPX headers AC_DEFUN([CF_UTMP], @@ -6729,9 +6729,9 @@ cf_utmp_includes=" done ]) -if test $cf_cv_have_utmp != no ; then +if test "$cf_cv_have_utmp" != no ; then AC_DEFINE(HAVE_UTMP,1,[Define to 1 if the utmp interface is available]) - test $cf_cv_have_utmp = utmpx && AC_DEFINE(UTMPX_FOR_UTMP,1,[Define if we have utmpx interface]) + test "$cf_cv_have_utmp" = utmpx && AC_DEFINE(UTMPX_FOR_UTMP,1,[Define if we have utmpx interface]) CF_UTMP_UT_HOST CF_UTMP_UT_SYSLEN CF_UTMP_UT_NAME @@ -6742,12 +6742,12 @@ if test $cf_cv_have_utmp != no ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_UTMP_UT_HOST version: 9 updated: 2020/03/10 18:53:47 +dnl CF_UTMP_UT_HOST version: 10 updated: 2021/01/02 09:31:20 dnl --------------- dnl Check if UTMP/UTMPX struct defines ut_host member AC_DEFUN([CF_UTMP_UT_HOST], [ -if test $cf_cv_have_utmp != no ; then +if test "$cf_cv_have_utmp" != no ; then AC_MSG_CHECKING(if ${cf_cv_have_utmp}.ut_host is declared) AC_CACHE_VAL(cf_cv_have_utmp_ut_host,[ AC_TRY_COMPILE([ @@ -6761,16 +6761,16 @@ AC_CACHE_VAL(cf_cv_have_utmp_ut_host,[ [cf_cv_have_utmp_ut_host=no]) ]) AC_MSG_RESULT($cf_cv_have_utmp_ut_host) -test $cf_cv_have_utmp_ut_host != no && AC_DEFINE(HAVE_UTMP_UT_HOST,1,[Define to 1 if UTMP/UTMPX struct defines ut_host member]) +test "$cf_cv_have_utmp_ut_host" != no && AC_DEFINE(HAVE_UTMP_UT_HOST,1,[Define to 1 if UTMP/UTMPX struct defines ut_host member]) fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_UTMP_UT_NAME version: 7 updated: 2020/03/10 18:53:47 +dnl CF_UTMP_UT_NAME version: 8 updated: 2021/01/02 09:31:20 dnl --------------- dnl Check if UTMP/UTMPX struct defines ut_name member AC_DEFUN([CF_UTMP_UT_NAME], [ -if test $cf_cv_have_utmp != no ; then +if test "$cf_cv_have_utmp" != no ; then AC_CACHE_CHECK(if ${cf_cv_have_utmp}.ut_name is declared,cf_cv_have_utmp_ut_name,[ cf_cv_have_utmp_ut_name=no cf_utmp_includes=" @@ -6793,7 +6793,7 @@ for cf_header in ut_name ut_user ; do done ]) -case $cf_cv_have_utmp_ut_name in +case "$cf_cv_have_utmp_ut_name" in (no) AC_MSG_ERROR(Cannot find declaration for ut.ut_name) ;; @@ -6804,12 +6804,12 @@ esac fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_UTMP_UT_SESSION version: 7 updated: 2020/03/10 18:53:47 +dnl CF_UTMP_UT_SESSION version: 8 updated: 2021/01/02 09:31:20 dnl ------------------ dnl Check if UTMP/UTMPX struct defines ut_session member AC_DEFUN([CF_UTMP_UT_SESSION], [ -if test $cf_cv_have_utmp != no ; then +if test "$cf_cv_have_utmp" != no ; then AC_CACHE_CHECK(if ${cf_cv_have_utmp}.ut_session is declared, cf_cv_have_utmp_ut_session,[ AC_TRY_COMPILE([ #include <sys/types.h> @@ -6821,18 +6821,18 @@ AC_CACHE_CHECK(if ${cf_cv_have_utmp}.ut_session is declared, cf_cv_have_utmp_ut_ [cf_cv_have_utmp_ut_session=yes], [cf_cv_have_utmp_ut_session=no]) ]) -if test $cf_cv_have_utmp_ut_session != no ; then +if test "$cf_cv_have_utmp_ut_session" != no ; then AC_DEFINE(HAVE_UTMP_UT_SESSION,1,[Define to 1 if UTMP/UTMPX struct defines ut_session member]) fi fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_UTMP_UT_SYSLEN version: 3 updated: 2020/03/10 18:53:47 +dnl CF_UTMP_UT_SYSLEN version: 4 updated: 2021/01/02 09:31:20 dnl ----------------- dnl Check if UTMP/UTMPX struct defines ut_syslen member AC_DEFUN([CF_UTMP_UT_SYSLEN], [ -if test $cf_cv_have_utmp != no ; then +if test "$cf_cv_have_utmp" != no ; then AC_MSG_CHECKING(if ${cf_cv_have_utmp}.ut_syslen is declared) AC_CACHE_VAL(cf_cv_have_utmp_ut_syslen,[ AC_TRY_COMPILE([ @@ -6846,11 +6846,11 @@ AC_CACHE_VAL(cf_cv_have_utmp_ut_syslen,[ [cf_cv_have_utmp_ut_syslen=no]) ]) AC_MSG_RESULT($cf_cv_have_utmp_ut_syslen) -test $cf_cv_have_utmp_ut_syslen != no && AC_DEFINE(HAVE_UTMP_UT_SYSLEN,1,[Define to 1 if UTMP/UTMPX struct defines ut_syslen member]) +test "$cf_cv_have_utmp_ut_syslen" != no && AC_DEFINE(HAVE_UTMP_UT_SYSLEN,1,[Define to 1 if UTMP/UTMPX struct defines ut_syslen member]) fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_UTMP_UT_XSTATUS version: 5 updated: 2020/03/10 18:53:47 +dnl CF_UTMP_UT_XSTATUS version: 6 updated: 2021/01/02 09:31:20 dnl ------------------ dnl Check for known variants on the UTMP/UTMPX struct's exit-status as reported dnl by various people: @@ -6864,7 +6864,7 @@ dnl Note: utmp_xstatus is not a conventional compatibility definition in the dnl system header files. AC_DEFUN([CF_UTMP_UT_XSTATUS], [ -if test $cf_cv_have_utmp != no ; then +if test "$cf_cv_have_utmp" != no ; then AC_CACHE_CHECK(for exit-status in $cf_cv_have_utmp,cf_cv_have_utmp_ut_xstatus,[ for cf_result in \ ut_exit.__e_exit \ @@ -6884,19 +6884,19 @@ AC_TRY_COMPILE([ [cf_cv_have_utmp_ut_xstatus=no]) done ]) -if test $cf_cv_have_utmp_ut_xstatus != no ; then +if test "$cf_cv_have_utmp_ut_xstatus" != no ; then AC_DEFINE(HAVE_UTMP_UT_XSTATUS,1,[Define to 1 if UTMP/UTMPX has exit-status member]) AC_DEFINE_UNQUOTED(ut_xstatus,$cf_cv_have_utmp_ut_xstatus,[Define if needed to rename member ut_xstatus of UTMP/UTMPX]) fi fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_UTMP_UT_XTIME version: 10 updated: 2020/03/10 18:53:47 +dnl CF_UTMP_UT_XTIME version: 11 updated: 2021/01/02 09:31:20 dnl ---------------- dnl Check if UTMP/UTMPX struct defines ut_xtime member AC_DEFUN([CF_UTMP_UT_XTIME], [ -if test $cf_cv_have_utmp != no ; then +if test "$cf_cv_have_utmp" != no ; then AC_CACHE_CHECK(if ${cf_cv_have_utmp}.ut_xtime is declared, cf_cv_have_utmp_ut_xtime,[ AC_TRY_COMPILE([ #include <sys/types.h> @@ -6917,9 +6917,9 @@ AC_CACHE_CHECK(if ${cf_cv_have_utmp}.ut_xtime is declared, cf_cv_have_utmp_ut_xt [cf_cv_have_utmp_ut_xtime=no]) ]) ]) -if test $cf_cv_have_utmp_ut_xtime != no ; then +if test "$cf_cv_have_utmp_ut_xtime" != no ; then AC_DEFINE(HAVE_UTMP_UT_XTIME,1,[Define to 1 if UTMP/UTMPX struct defines ut_xtime member]) - if test $cf_cv_have_utmp_ut_xtime = define ; then + if test "$cf_cv_have_utmp_ut_xtime" = define ; then AC_DEFINE(ut_xtime,ut_tv.tv_sec,[Define if needed to alternate name for utmpx.ut_xtime member]) fi fi @@ -6934,7 +6934,7 @@ AC_DEFUN([CF_VERBOSE], CF_MSG_LOG([$1]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_WAIT_HEADERS version: 2 updated: 1997/10/21 19:45:33 +dnl CF_WAIT_HEADERS version: 3 updated: 2021/01/02 09:31:20 dnl --------------- dnl Build up an expression $cf_wait_headers with the header files needed to dnl compile against the prototypes for 'wait()', 'waitpid()', etc. Assume it's @@ -6945,19 +6945,19 @@ AC_DEFUN([CF_WAIT_HEADERS], AC_HAVE_HEADERS(sys/wait.h) cf_wait_headers="#include <sys/types.h> " -if test $ac_cv_header_sys_wait_h = yes; then +if test "$ac_cv_header_sys_wait_h" = yes; then cf_wait_headers="$cf_wait_headers #include <sys/wait.h> " else AC_HAVE_HEADERS(wait.h) AC_HAVE_HEADERS(waitstatus.h) -if test $ac_cv_header_wait_h = yes; then +if test "$ac_cv_header_wait_h" = yes; then cf_wait_headers="$cf_wait_headers #include <wait.h> " fi -if test $ac_cv_header_waitstatus_h = yes; then +if test "$ac_cv_header_waitstatus_h" = yes; then cf_wait_headers="$cf_wait_headers #include <waitstatus.h> " @@ -7028,7 +7028,7 @@ AC_DEFUN([CF_WITH_BZLIB],[ ],bz2,,,bzlib) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_WITH_CURSES_DIR version: 3 updated: 2010/11/20 17:02:38 +dnl CF_WITH_CURSES_DIR version: 4 updated: 2021/01/02 19:22:58 dnl ------------------ dnl Wrapper for AC_ARG_WITH to specify directory under which to look for curses dnl libraries. @@ -7041,7 +7041,7 @@ AC_ARG_WITH(curses-dir, [cf_cv_curses_dir=no]) AC_MSG_RESULT($cf_cv_curses_dir) -if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" ) +if test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" then CF_PATH_SYNTAX(withval) if test -d "$cf_cv_curses_dir" @@ -7158,7 +7158,7 @@ AC_CHECK_FUNCS( \ ) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_XOPEN_CURSES version: 15 updated: 2020/03/19 20:23:48 +dnl CF_XOPEN_CURSES version: 16 updated: 2021/01/02 09:31:20 dnl --------------- dnl Test if we should define X/Open source for curses, needed on Digital Unix dnl 4.x, to see the extended functions, but breaks on IRIX 6.x. @@ -7219,7 +7219,7 @@ AC_TRY_LINK([ ]) ]) -case $cf_cv_need_xopen_extension in +case "$cf_cv_need_xopen_extension" in (*_*) CF_APPEND_TEXT(CPPFLAGS,-D$cf_cv_need_xopen_extension) ;; @@ -7227,7 +7227,7 @@ esac ])dnl dnl --------------------------------------------------------------------------- -dnl CF_XOPEN_SOURCE version: 55 updated: 2018/12/31 20:46:17 +dnl CF_XOPEN_SOURCE version: 57 updated: 2021/01/01 16:53:59 dnl --------------- dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions, dnl or adapt to the vendor's definitions to get equivalent functionality, @@ -7246,7 +7246,7 @@ cf_XOPEN_SOURCE=ifelse([$1],,500,[$1]) cf_POSIX_C_SOURCE=ifelse([$2],,199506L,[$2]) cf_xopen_source= -case $host_os in +case "$host_os" in (aix[[4-7]]*) cf_xopen_source="-D_ALL_SOURCE" ;; @@ -7339,7 +7339,7 @@ make an error [cf_XOPEN_SOURCE_set=yes], [cf_XOPEN_SOURCE_set=no]) AC_MSG_RESULT($cf_XOPEN_SOURCE_set) - if test $cf_XOPEN_SOURCE_set = yes + if test "$cf_XOPEN_SOURCE_set" = yes then AC_TRY_COMPILE([#include <stdlib.h>],[ #if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE @@ -7347,7 +7347,7 @@ make an error #endif], [cf_XOPEN_SOURCE_set_ok=yes], [cf_XOPEN_SOURCE_set_ok=no]) - if test $cf_XOPEN_SOURCE_set_ok = no + if test "$cf_XOPEN_SOURCE_set_ok" = no then AC_MSG_WARN(_XOPEN_SOURCE is lower than requested) fi @@ -7471,7 +7471,7 @@ if test -z "$cf_x_athena_lib" ; then fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_X_ATHENA_CPPFLAGS version: 8 updated: 2020/01/16 05:21:56 +dnl CF_X_ATHENA_CPPFLAGS version: 9 updated: 2020/12/31 10:54:15 dnl -------------------- dnl Normally invoked by CF_X_ATHENA, with $1 set to the appropriate flavor of dnl the Athena widgets, e.g., Xaw, Xaw3d, neXtaw. @@ -7490,7 +7490,7 @@ do if test -z "$cf_x_athena_inc" ; then CF_SAVE_XTRA_FLAGS([CF_X_ATHENA_CPPFLAGS]) cf_test=X11/$cf_x_athena_root/SimpleMenu.h - if test $cf_path != default ; then + if test "$cf_path" != default ; then CF_APPEND_TEXT(CPPFLAGS,-I$cf_path/include) AC_MSG_CHECKING(for $cf_test in $cf_path) else @@ -7505,7 +7505,7 @@ do CF_RESTORE_XTRA_FLAGS([CF_X_ATHENA_CPPFLAGS]) if test "$cf_result" = yes ; then test "$cf_path" = default && cf_x_athena_inc=default - test "$cf_path" != default && cf_x_athena_inc=$cf_path/include + test "$cf_path" != default && cf_x_athena_inc="$cf_path/include" break fi fi @@ -7587,7 +7587,7 @@ CF_TRY_PKG_CONFIG(Xext,,[ [CF_ADD_LIB(Xext)])]) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_X_TOOLKIT version: 25 updated: 2020/03/10 17:26:15 +dnl CF_X_TOOLKIT version: 26 updated: 2021/01/02 09:31:20 dnl ------------ dnl Check for X Toolkit libraries AC_DEFUN([CF_X_TOOLKIT], @@ -7680,7 +7680,7 @@ AC_TRY_LINK([ LIBS="-lXt $LIBS"])]) ]) -if test $cf_have_X_LIBS = no ; then +if test "$cf_have_X_LIBS" = no ; then AC_MSG_WARN( [Unable to successfully link X Toolkit library (-lXt) with test program. You will have to check and add the proper libraries by hand @@ -7815,6 +7815,12 @@ define([CF__SSL_HEAD],[ #endif ])dnl dnl --------------------------------------------------------------------------- +dnl CF__SED_TRIMBLANKS version: 1 updated: 2021/01/02 09:31:20 +dnl ------------------ +dnl Trim something using sed, then trim extra whitespace +dnl $1 = extra parameters, e.g., in CF_STRIP_G_OPT +define([CF__SED_TRIMBLANKS],[sed ifelse($1,,,[$1] )-e 's%[[ ]]% %g' -e 's% [[ ]]*% %g' -e 's%^ %%' -e 's% [$]%%'])dnl +dnl --------------------------------------------------------------------------- dnl jm_GLIBC21 version: 4 updated: 2015/05/10 19:52:14 dnl ---------- dnl Inserted as requested by gettext 0.10.40 @@ -1,8 +1,9 @@ #! /bin/sh -# From configure.in 2.9.0dev.6. +# From configure.in 2.9.0dev.7. # Guess values for system-dependent variables and create Makefiles. -# Generated by Autoconf 2.52.20200802. +# Generated by Autoconf 2.52.20210101. # +# Copyright 2003-2020,2021 Thomas E. Dickey # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation @@ -60,9 +61,9 @@ as_executable_p="test -f" # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset + as_unset="unset" else - as_unset=false + as_unset="false" fi # NLS nuisances. @@ -97,13 +98,14 @@ exec 6>&1 ac_default_prefix=/usr/local cross_compiling=no subdirs= -MFLAGS= MAKEFLAGS= +MFLAGS= +MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. -: ${ac_max_here_lines=38} +: "${ac_max_here_lines=38}" ac_unique_file="userdefs.h" ac_default_prefix=/usr/local @@ -205,7 +207,7 @@ do # Accept the important Cygnus configure options, so we can diagnose typos. - case $ac_option in + case "$ac_option" in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; @@ -246,7 +248,7 @@ do expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` + ac_feature=`echo "$ac_feature" | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) @@ -255,8 +257,8 @@ do expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - case $ac_option in + ac_feature=`echo "$ac_feature" | sed 's/-/_/g'` + case "$ac_option" in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac @@ -446,8 +448,8 @@ do expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } - ac_package=`echo $ac_package| sed 's/-/_/g'` - case $ac_option in + ac_package=`echo "$ac_package" | sed 's/-/_/g'` + case "$ac_option" in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac @@ -459,7 +461,7 @@ do expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/-/_/g'` + ac_package=`echo "$ac_package" | sed 's/-/_/g'` eval "with_$ac_package=no" ;; --x) @@ -493,21 +495,21 @@ Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" - export $ac_envvar ;; + export "$ac_envvar" ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + : "${build_alias=$ac_option}" "${host_alias=$ac_option}" "${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` + ac_option=--`echo "$ac_prev" | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi @@ -515,8 +517,8 @@ fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do - eval ac_val=$`echo $ac_var` - case $ac_val in + eval ac_val=$`echo "$ac_var"` + case "$ac_val" in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; @@ -527,8 +529,8 @@ done for ac_var in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do - eval ac_val=$`echo $ac_var` - case $ac_val in + eval ac_val=$`echo "$ac_var"` + case "$ac_val" in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; @@ -565,13 +567,13 @@ if test -z "$srcdir"; then ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then + if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi -if test ! -r $srcdir/$ac_unique_file; then +if test ! -r "$srcdir/$ac_unique_file"; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } @@ -843,42 +845,43 @@ if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue - cd $ac_subdir + cd "$ac_subdir" # A "../" for each directory in /$ac_subdir. - ac_dots=`echo $ac_subdir | + ac_dots=`echo "$ac_subdir" | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` - case $srcdir in + case "$srcdir" in .) # No --srcdir option. We are building in place. - ac_sub_srcdir=$srcdir ;; + ac_sub_srcdir="$srcdir" ;; [\\/]* | ?:[\\/]* ) # Absolute path. - ac_sub_srcdir=$srcdir/$ac_subdir ;; + ac_sub_srcdir="$srcdir/$ac_subdir" ;; *) # Relative path. - ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; + ac_sub_srcdir="$ac_dots$srcdir/$ac_subdir" ;; esac # Check for guested configure; otherwise get Cygnus style configure. - if test -f $ac_sub_srcdir/configure.gnu; then + if test -f "$ac_sub_srcdir/configure.gnu"; then echo - $SHELL $ac_sub_srcdir/configure.gnu --help=recursive - elif test -f $ac_sub_srcdir/configure; then + $SHELL "$ac_sub_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_sub_srcdir/configure"; then echo - $SHELL $ac_sub_srcdir/configure --help=recursive - elif test -f $ac_sub_srcdir/configure.ac || - test -f $ac_sub_srcdir/configure.in; then + $SHELL "$ac_sub_srcdir/configure" --help=recursive + elif test -f "$ac_sub_srcdir/configure.ac" || + test -f "$ac_sub_srcdir/configure.in"; then echo - $ac_configure --help + "$ac_configure" --help else echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 fi - cd $ac_popdir + cd "$ac_popdir" done fi test -n "$ac_init_help" && exit 0 -if $ac_init_version; then +if "$ac_init_version"; then cat <<\EOF +Copyright 2003-2020,2021 Thomas E. Dickey Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation @@ -892,7 +895,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.52.20200802. Invocation command line was +generated by GNU Autoconf 2.52.20210101. Invocation command line was $ $0 $@ @@ -939,7 +942,7 @@ ac_configure_args= ac_sep= for ac_arg do - case $ac_arg in + case "$ac_arg" in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ @@ -996,7 +999,7 @@ trap 'exit_status=$? exit $exit_status ' 0 for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' "$ac_signal" done ac_signal=0 @@ -1016,7 +1019,7 @@ if test -z "$CONFIG_SITE"; then fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then - { echo "$as_me:1019: loading site script $ac_site_file" >&5 + { echo "$as_me:1022: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} cat "$ac_site_file" >&5 . "$ac_site_file" @@ -1027,7 +1030,7 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then - { echo "$as_me:1030: loading cache $cache_file" >&5 + { echo "$as_me:1033: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; @@ -1035,7 +1038,7 @@ echo "$as_me: loading cache $cache_file" >&6;} esac fi else - { echo "$as_me:1038: creating cache $cache_file" >&5 + { echo "$as_me:1041: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi @@ -1049,23 +1052,23 @@ for ac_var in `(set) 2>&1 | eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" - case $ac_old_set,$ac_new_set in + case "$ac_old_set,$ac_new_set" in set,) - { echo "$as_me:1054: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 + { echo "$as_me:1057: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { echo "$as_me:1058: error: \`$ac_var' was not set in the previous run" >&5 + { echo "$as_me:1061: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:1064: error: \`$ac_var' has changed since the previous run:" >&5 + { echo "$as_me:1067: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:1066: former value: $ac_old_val" >&5 + { echo "$as_me:1069: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:1068: current value: $ac_new_val" >&5 + { echo "$as_me:1071: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; @@ -1073,7 +1076,7 @@ echo "$as_me: current value: $ac_new_val" >&2;} # Pass precious variables to config.status. It doesn't matter if # we pass some twice (in addition to the command line arguments). if test "$ac_new_set" = set; then - case $ac_new_val in + case "$ac_new_val" in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ac_configure_args="$ac_configure_args '$ac_arg'" @@ -1083,35 +1086,43 @@ echo "$as_me: current value: $ac_new_val" >&2;} esac fi done -if $ac_cache_corrupted; then - { echo "$as_me:1087: error: changes in the environment can compromise the build" >&5 +if "$ac_cache_corrupted"; then + { echo "$as_me:1090: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:1089: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 + { { echo "$as_me:1092: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' +ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_main_return=return +ac_main_return="return" case `echo "testing\c" 2>/dev/null; echo 1,2,3`,`echo -n testing 2>/dev/null; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C= # newlines do not sed ;-) only broken shells would use this case anyway - ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; + *c*,-n*) ECHO_N= + ECHO_C= # newlines do not sed ;-) only broken shells would use this case anyway + ECHO_T=' ' + ;; + *c*,* ) ECHO_N=-n + ECHO_C= + ECHO_T= + ;; + *) ECHO_N= + ECHO_C='\c' + ECHO_T= + ;; esac echo "#! $SHELL" >conftest.sh echo "exit 0" >>conftest.sh chmod +x conftest.sh -if { (echo "$as_me:1110: PATH=\".;.\"; conftest.sh") >&5 +if { (echo "$as_me:1121: PATH=\".;.\"; conftest.sh") >&5 (PATH=".;."; conftest.sh) 2>&5 ac_status=$? - echo "$as_me:1113: \$? = $ac_status" >&5 - (exit $ac_status); }; then + echo "$as_me:1124: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then ac_path_separator=';' else ac_path_separator=: @@ -1130,22 +1141,22 @@ ac_config_headers="$ac_config_headers $CONFIG_H:config.hin" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then + if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break - elif test -f $ac_dir/install.sh; then + elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break - elif test -f $ac_dir/shtool; then + elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then - { { echo "$as_me:1148: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 + { { echo "$as_me:1159: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi @@ -1155,11 +1166,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || - { { echo "$as_me:1158: error: cannot run $ac_config_sub" >&5 + { { echo "$as_me:1169: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} { (exit 1); exit 1; }; } -echo "$as_me:1162: checking build system type" >&5 +echo "$as_me:1173: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1168,23 +1179,23 @@ else test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && - { { echo "$as_me:1171: error: cannot guess build type; you must specify one" >&5 + { { echo "$as_me:1182: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || - { { echo "$as_me:1175: error: $ac_config_sub $ac_cv_build_alias failed." >&5 +ac_cv_build=`$ac_config_sub "$ac_cv_build_alias"` || + { { echo "$as_me:1186: error: $ac_config_sub $ac_cv_build_alias failed." >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1180: result: $ac_cv_build" >&5 +echo "$as_me:1191: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +build_cpu=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +build_vendor=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +build_os=`echo "$ac_cv_build" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$as_me:1187: checking host system type" >&5 +echo "$as_me:1198: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1192,21 +1203,21 @@ else ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || - { { echo "$as_me:1196: error: $ac_config_sub $ac_cv_host_alias failed" >&5 +ac_cv_host=`$ac_config_sub "$ac_cv_host_alias"` || + { { echo "$as_me:1207: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1201: result: $ac_cv_host" >&5 +echo "$as_me:1212: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +host_cpu=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo "$ac_cv_host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -if test -f $srcdir/config.guess || test -f $ac_aux_dir/config.guess ; then - echo "$as_me:1209: checking target system type" >&5 +if test -f "$srcdir/config.guess" || test -f "$ac_aux_dir/config.guess" ; then + echo "$as_me:1220: checking target system type" >&5 echo $ECHO_N "checking target system type... $ECHO_C" >&6 if test "${ac_cv_target+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1214,18 +1225,18 @@ else ac_cv_target_alias=$target_alias test "x$ac_cv_target_alias" = "x" && ac_cv_target_alias=$ac_cv_host_alias -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || - { { echo "$as_me:1218: error: $ac_config_sub $ac_cv_target_alias failed" >&5 +ac_cv_target=`$ac_config_sub "$ac_cv_target_alias"` || + { { echo "$as_me:1229: error: $ac_config_sub $ac_cv_target_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:1223: result: $ac_cv_target" >&5 +echo "$as_me:1234: result: $ac_cv_target" >&5 echo "${ECHO_T}$ac_cv_target" >&6 target=$ac_cv_target -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +target_cpu=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +target_vendor=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +target_os=`echo "$ac_cv_target" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # The aliases save the names the user supplied, while $host etc. # will get canonicalized. @@ -1252,13 +1263,13 @@ else fi test -z "$system_name" && system_name="$cf_cv_system_name" -test -n "$cf_cv_system_name" && echo "$as_me:1255: result: Configuring for $cf_cv_system_name" >&5 +test -n "$cf_cv_system_name" && echo "$as_me:1266: result: Configuring for $cf_cv_system_name" >&5 echo "${ECHO_T}Configuring for $cf_cv_system_name" >&6 if test ".$system_name" != ".$cf_cv_system_name" ; then - echo "$as_me:1259: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 + echo "$as_me:1270: result: Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&5 echo "${ECHO_T}Cached system name ($system_name) does not agree with actual ($cf_cv_system_name)" >&6 - { { echo "$as_me:1261: error: \"Please remove config.cache and try again.\"" >&5 + { { echo "$as_me:1272: error: \"Please remove config.cache and try again.\"" >&5 echo "$as_me: error: \"Please remove config.cache and try again.\"" >&2;} { (exit 1); exit 1; }; } fi @@ -1266,7 +1277,7 @@ fi # Check whether --with-system-type or --without-system-type was given. if test "${with_system_type+set}" = set; then withval="$with_system_type" - { echo "$as_me:1269: WARNING: overriding system type $host_os to $withval" >&5 + { echo "$as_me:1280: WARNING: overriding system type $host_os to $withval" >&5 echo "$as_me: WARNING: overriding system type $host_os to $withval" >&2;} host_os=$withval fi; @@ -1288,7 +1299,7 @@ PACKAGE=lynx # $Format: "VERSION=$ProjectVersion$"$ VERSION=2.9.0dev.7 -echo "$as_me:1291: checking for DESTDIR" >&5 +echo "$as_me:1302: checking for DESTDIR" >&5 echo $ECHO_N "checking for DESTDIR... $ECHO_C" >&6 # Check whether --with-destdir or --without-destdir was given. @@ -1312,19 +1323,19 @@ case ".$withval" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval withval="$withval" case ".$withval" in (.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:1327: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:1338: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -1333,10 +1344,10 @@ esac fi eval DESTDIR="$withval" -echo "$as_me:1336: result: $DESTDIR" >&5 +echo "$as_me:1347: result: $DESTDIR" >&5 echo "${ECHO_T}$DESTDIR" >&6 -case $host_os in +case "$host_os" in (openedition) : ${CFLAGS="-D_ALL_SOURCE -Wl,EDIT=NO"} : ${CC=c89} @@ -1345,14 +1356,14 @@ esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' +ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_main_return=return +ac_main_return="return" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -echo "$as_me:1355: checking for $ac_word" >&5 +echo "$as_me:1366: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1367,7 +1378,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="${ac_tool_prefix}gcc" -echo "$as_me:1370: found $ac_dir/$ac_word" >&5 +echo "$as_me:1381: found $ac_dir/$ac_word" >&5 break done @@ -1375,10 +1386,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1378: result: $CC" >&5 + echo "$as_me:1389: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1381: result: no" >&5 + echo "$as_me:1392: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1387,7 +1398,7 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -echo "$as_me:1390: checking for $ac_word" >&5 +echo "$as_me:1401: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1402,7 +1413,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="gcc" -echo "$as_me:1405: found $ac_dir/$ac_word" >&5 +echo "$as_me:1416: found $ac_dir/$ac_word" >&5 break done @@ -1410,10 +1421,10 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1413: result: $ac_ct_CC" >&5 + echo "$as_me:1424: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1416: result: no" >&5 + echo "$as_me:1427: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1426,7 +1437,7 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -echo "$as_me:1429: checking for $ac_word" >&5 +echo "$as_me:1440: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1441,7 +1452,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="${ac_tool_prefix}cc" -echo "$as_me:1444: found $ac_dir/$ac_word" >&5 +echo "$as_me:1455: found $ac_dir/$ac_word" >&5 break done @@ -1449,10 +1460,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1452: result: $CC" >&5 + echo "$as_me:1463: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1455: result: no" >&5 + echo "$as_me:1466: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1461,7 +1472,7 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1464: checking for $ac_word" >&5 +echo "$as_me:1475: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1476,7 +1487,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="cc" -echo "$as_me:1479: found $ac_dir/$ac_word" >&5 +echo "$as_me:1490: found $ac_dir/$ac_word" >&5 break done @@ -1484,10 +1495,10 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1487: result: $ac_ct_CC" >&5 + echo "$as_me:1498: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1490: result: no" >&5 + echo "$as_me:1501: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1500,7 +1511,7 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo "$as_me:1503: checking for $ac_word" >&5 +echo "$as_me:1514: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1520,11 +1531,11 @@ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then continue fi ac_cv_prog_CC="cc" -echo "$as_me:1523: found $ac_dir/$ac_word" >&5 +echo "$as_me:1534: found $ac_dir/$ac_word" >&5 break done -if test $ac_prog_rejected = yes; then +if test "$ac_prog_rejected" = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift @@ -1542,10 +1553,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1545: result: $CC" >&5 + echo "$as_me:1556: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1548: result: no" >&5 + echo "$as_me:1559: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1556,7 +1567,7 @@ if test -z "$CC"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:1559: checking for $ac_word" >&5 +echo "$as_me:1570: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1571,7 +1582,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -echo "$as_me:1574: found $ac_dir/$ac_word" >&5 +echo "$as_me:1585: found $ac_dir/$ac_word" >&5 break done @@ -1579,10 +1590,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:1582: result: $CC" >&5 + echo "$as_me:1593: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:1585: result: no" >&5 + echo "$as_me:1596: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1595,7 +1606,7 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:1598: checking for $ac_word" >&5 +echo "$as_me:1609: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -1610,7 +1621,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_CC="$ac_prog" -echo "$as_me:1613: found $ac_dir/$ac_word" >&5 +echo "$as_me:1624: found $ac_dir/$ac_word" >&5 break done @@ -1618,10 +1629,10 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - echo "$as_me:1621: result: $ac_ct_CC" >&5 + echo "$as_me:1632: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else - echo "$as_me:1624: result: no" >&5 + echo "$as_me:1635: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -1633,32 +1644,32 @@ fi fi -test -z "$CC" && { { echo "$as_me:1636: error: no acceptable cc found in \$PATH" >&5 +test -z "$CC" && { { echo "$as_me:1647: error: no acceptable cc found in \$PATH" >&5 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. -echo "$as_me:1641:" \ +echo "$as_me:1652:" \ "checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (eval echo "$as_me:1644: \"$ac_compiler --version </dev/null >&5\"") >&5 +ac_compiler=`set X $ac_compile; echo "$2"` +{ (eval echo "$as_me:1655: \"$ac_compiler --version </dev/null >&5\"") >&5 (eval $ac_compiler --version </dev/null >&5) 2>&5 ac_status=$? - echo "$as_me:1647: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:1649: \"$ac_compiler -v </dev/null >&5\"") >&5 + echo "$as_me:1658: \$? = $ac_status" >&5 + (exit "$ac_status"); } +{ (eval echo "$as_me:1660: \"$ac_compiler -v </dev/null >&5\"") >&5 (eval $ac_compiler -v </dev/null >&5) 2>&5 ac_status=$? - echo "$as_me:1652: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (eval echo "$as_me:1654: \"$ac_compiler -V </dev/null >&5\"") >&5 + echo "$as_me:1663: \$? = $ac_status" >&5 + (exit "$ac_status"); } +{ (eval echo "$as_me:1665: \"$ac_compiler -V </dev/null >&5\"") >&5 (eval $ac_compiler -V </dev/null >&5) 2>&5 ac_status=$? - echo "$as_me:1657: \$? = $ac_status" >&5 - (exit $ac_status); } + echo "$as_me:1668: \$? = $ac_status" >&5 + (exit "$ac_status"); } -cat >conftest.$ac_ext <<_ACEOF -#line 1661 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 1672 "configure" #include "confdefs.h" int @@ -1674,14 +1685,14 @@ ac_clean_files="$ac_clean_files a.out a.exe" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -echo "$as_me:1677: checking for C compiler default output" >&5 +echo "$as_me:1688: checking for C compiler default output" >&5 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -if { (eval echo "$as_me:1680: \"$ac_link_default\"") >&5 +ac_link_default=`echo "$ac_link" | sed 's/ -o *"conftest[^"]*"//'` +if { (eval echo "$as_me:1691: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? - echo "$as_me:1683: \$? = $ac_status" >&5 - (exit $ac_status); }; then + echo "$as_me:1694: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. @@ -1702,35 +1713,35 @@ for ac_file in `ls a.exe conftest.exe 2>/dev/null; done else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:1706: error: C compiler cannot create executables" >&5 +cat "conftest.$ac_ext" >&5 +{ { echo "$as_me:1717: error: C compiler cannot create executables" >&5 echo "$as_me: error: C compiler cannot create executables" >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext -echo "$as_me:1712: result: $ac_file" >&5 +echo "$as_me:1723: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1717: checking whether the C compiler works" >&5 +echo "$as_me:1728: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' - { (eval echo "$as_me:1723: \"$ac_try\"") >&5 + { (eval echo "$as_me:1734: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1726: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:1737: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { echo "$as_me:1733: error: cannot run C compiled programs. + { { echo "$as_me:1744: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'." >&2;} @@ -1738,25 +1749,25 @@ If you meant to cross compile, use \`--host'." >&2;} fi fi fi -echo "$as_me:1741: result: yes" >&5 +echo "$as_me:1752: result: yes" >&5 echo "${ECHO_T}yes" >&6 -rm -f a.out a.exe conftest$ac_cv_exeext +rm -f a.out a.exe "conftest$ac_cv_exeext" ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -echo "$as_me:1748: checking whether we are cross compiling" >&5 +echo "$as_me:1759: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 -echo "$as_me:1750: result: $cross_compiling" >&5 +echo "$as_me:1761: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 -echo "$as_me:1753: checking for executable suffix" >&5 +echo "$as_me:1764: checking for executable suffix" >&5 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 -if { (eval echo "$as_me:1755: \"$ac_link\"") >&5 +if { (eval echo "$as_me:1766: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:1758: \$? = $ac_status" >&5 - (exit $ac_status); }; then + echo "$as_me:1769: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -1771,25 +1782,25 @@ for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do esac done else - { { echo "$as_me:1774: error: cannot compute EXEEXT: cannot compile and link" >&5 + { { echo "$as_me:1785: error: cannot compute EXEEXT: cannot compile and link" >&5 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} { (exit 1); exit 1; }; } fi -rm -f conftest$ac_cv_exeext -echo "$as_me:1780: result: $ac_cv_exeext" >&5 +rm -f "conftest$ac_cv_exeext" +echo "$as_me:1791: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 -rm -f conftest.$ac_ext +rm -f "conftest.$ac_ext" EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -echo "$as_me:1786: checking for object suffix" >&5 +echo "$as_me:1797: checking for object suffix" >&5 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 1792 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 1803 "configure" #include "confdefs.h" int @@ -1801,11 +1812,11 @@ main (void) } _ACEOF rm -f conftest.o conftest.obj -if { (eval echo "$as_me:1804: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:1815: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1807: \$? = $ac_status" >&5 - (exit $ac_status); }; then + echo "$as_me:1818: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.dbg | *.pdb | *.xSYM | *.map | *.inf ) ;; @@ -1815,25 +1826,25 @@ if { (eval echo "$as_me:1804: \"$ac_compile\"") >&5 done else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:1819: error: cannot compute OBJEXT: cannot compile" >&5 +cat "conftest.$ac_ext" >&5 +{ { echo "$as_me:1830: error: cannot compute OBJEXT: cannot compile" >&5 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} { (exit 1); exit 1; }; } fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext +rm -f "conftest.$ac_cv_objext" "conftest.$ac_ext" fi -echo "$as_me:1826: result: $ac_cv_objext" >&5 +echo "$as_me:1837: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -echo "$as_me:1830: checking whether we are using the GNU C compiler" >&5 +echo "$as_me:1841: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 1836 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 1847 "configure" #include "confdefs.h" int @@ -1847,41 +1858,41 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:1862: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1854: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1857: \"$ac_try\"") >&5 + echo "$as_me:1865: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:1868: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1860: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:1871: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_compiler_gnu=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -echo "$as_me:1872: result: $ac_cv_c_compiler_gnu" >&5 +echo "$as_me:1883: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" -echo "$as_me:1878: checking whether $CC accepts -g" >&5 +echo "$as_me:1889: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 1884 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 1895 "configure" #include "confdefs.h" int @@ -1892,27 +1903,27 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:1896: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:1907: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1899: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1902: \"$ac_try\"") >&5 + echo "$as_me:1910: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:1913: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1905: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:1916: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_prog_cc_g=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:1915: result: $ac_cv_prog_cc_g" >&5 +echo "$as_me:1926: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS @@ -1933,23 +1944,23 @@ fi # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. -cat >conftest.$ac_ext <<_ACEOF +cat >"conftest.$ac_ext" <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:1942: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:1953: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1945: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1948: \"$ac_try\"") >&5 + echo "$as_me:1956: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:1959: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1951: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:1962: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then for ac_declaration in \ ''\ '#include <stdlib.h>' \ @@ -1959,8 +1970,8 @@ if { (eval echo "$as_me:1942: \"$ac_compile\"") >&5 'extern "C" void exit (int);' \ 'void exit (int);' do - cat >conftest.$ac_ext <<_ACEOF -#line 1963 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 1974 "configure" #include "confdefs.h" #include <stdlib.h> $ac_declaration @@ -1972,27 +1983,27 @@ exit (42); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:1976: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:1987: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:1979: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:1982: \"$ac_try\"") >&5 + echo "$as_me:1990: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:1993: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:1985: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:1996: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 continue fi -rm -f conftest.$ac_objext conftest.$ac_ext - cat >conftest.$ac_ext <<_ACEOF -#line 1995 "configure" +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +#line 2006 "configure" #include "confdefs.h" $ac_declaration int @@ -2003,65 +2014,65 @@ exit (42); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2007: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:2018: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2010: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2013: \"$ac_try\"") >&5 + echo "$as_me:2021: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:2024: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2016: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:2027: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done rm -rf conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h - echo $ac_declaration >>confdefs.h + echo "$ac_declaration" >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" ac_ext=c ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' +ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_main_return=return +ac_main_return="return" GCC_VERSION=none if test "$GCC" = yes ; then - echo "$as_me:2046: checking version of $CC" >&5 + echo "$as_me:2057: checking version of $CC" >&5 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 GCC_VERSION="`${CC} --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(GCC[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" test -z "$GCC_VERSION" && GCC_VERSION=unknown - echo "$as_me:2050: result: $GCC_VERSION" >&5 + echo "$as_me:2061: result: $GCC_VERSION" >&5 echo "${ECHO_T}$GCC_VERSION" >&6 fi INTEL_COMPILER=no if test "$GCC" = yes ; then - case $host_os in + case "$host_os" in (linux*|gnu*) - echo "$as_me:2059: checking if this is really Intel C compiler" >&5 + echo "$as_me:2070: checking if this is really Intel C compiler" >&5 echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 cf_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -no-gcc" - cat >conftest.$ac_ext <<_ACEOF -#line 2064 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 2075 "configure" #include "confdefs.h" int @@ -2077,28 +2088,28 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2081: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:2092: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2084: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2087: \"$ac_try\"") >&5 + echo "$as_me:2095: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:2098: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2090: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:2101: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then INTEL_COMPILER=yes cf_save_CFLAGS="$cf_save_CFLAGS -we147" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CFLAGS="$cf_save_CFLAGS" - echo "$as_me:2101: result: $INTEL_COMPILER" >&5 + echo "$as_me:2112: result: $INTEL_COMPILER" >&5 echo "${ECHO_T}$INTEL_COMPILER" >&6 ;; esac @@ -2107,11 +2118,11 @@ fi CLANG_COMPILER=no if test "$GCC" = yes ; then - echo "$as_me:2110: checking if this is really Clang C compiler" >&5 + echo "$as_me:2121: checking if this is really Clang C compiler" >&5 echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6 cf_save_CFLAGS="$CFLAGS" - cat >conftest.$ac_ext <<_ACEOF -#line 2114 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 2125 "configure" #include "confdefs.h" int @@ -2127,27 +2138,27 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:2131: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:2142: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2134: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2137: \"$ac_try\"") >&5 + echo "$as_me:2145: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:2148: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2140: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:2151: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then CLANG_COMPILER=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CFLAGS="$cf_save_CFLAGS" - echo "$as_me:2150: result: $CLANG_COMPILER" >&5 + echo "$as_me:2161: result: $CLANG_COMPILER" >&5 echo "${ECHO_T}$CLANG_COMPILER" >&6 fi @@ -2156,30 +2167,30 @@ CLANG_VERSION=none if test "x$CLANG_COMPILER" = "xyes" ; then case "$CC" in (c[1-9][0-9]|*/c[1-9][0-9]) - { echo "$as_me:2159: WARNING: replacing broken compiler alias $CC" >&5 + { echo "$as_me:2170: WARNING: replacing broken compiler alias $CC" >&5 echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;} CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`" CC=clang ;; esac - echo "$as_me:2166: checking version of $CC" >&5 + echo "$as_me:2177: checking version of $CC" >&5 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" test -z "$CLANG_VERSION" && CLANG_VERSION=unknown - echo "$as_me:2170: result: $CLANG_VERSION" >&5 + echo "$as_me:2181: result: $CLANG_VERSION" >&5 echo "${ECHO_T}$CLANG_VERSION" >&6 for cf_clang_opt in \ -Qunused-arguments \ -Wno-error=implicit-function-declaration do - echo "$as_me:2177: checking if option $cf_clang_opt works" >&5 + echo "$as_me:2188: checking if option $cf_clang_opt works" >&5 echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6 cf_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $cf_clang_opt" - cat >conftest.$ac_ext <<_ACEOF -#line 2182 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 2193 "configure" #include "confdefs.h" #include <stdio.h> @@ -2187,39 +2198,39 @@ int main (void) { - printf("hello!\n"); + printf("hello!\\n"); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:2196: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:2207: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:2199: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:2202: \"$ac_try\"") >&5 + echo "$as_me:2210: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:2213: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2205: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:2216: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_clang_optok=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_clang_optok=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:2216: result: $cf_clang_optok" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + echo "$as_me:2227: result: $cf_clang_optok" >&5 echo "${ECHO_T}$cf_clang_optok" >&6 CFLAGS="$cf_save_CFLAGS" - if test $cf_clang_optok = yes; then + if test "$cf_clang_optok" = yes; then test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6 -echo "${as_me:-configure}:2222: testing adding option $cf_clang_opt ..." 1>&5 +echo "${as_me:-configure}:2233: testing adding option $cf_clang_opt ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_clang_opt" @@ -2228,15 +2239,15 @@ echo "${as_me:-configure}:2222: testing adding option $cf_clang_opt ..." 1>&5 done fi -echo "$as_me:2231: checking for $CC option to accept ANSI C" >&5 +echo "$as_me:2242: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=no ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -#line 2239 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 2250 "configure" #include "confdefs.h" #include <stdarg.h> #include <stdio.h> @@ -2284,51 +2295,51 @@ _ACEOF for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (eval echo "$as_me:2288: \"$ac_compile\"") >&5 + rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:2299: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2291: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2294: \"$ac_try\"") >&5 + echo "$as_me:2302: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:2305: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2297: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:2308: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext +rm -f "conftest.$ac_objext" done -rm -f conftest.$ac_ext conftest.$ac_objext +rm -f "conftest.$ac_ext" "conftest.$ac_objext" CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) - echo "$as_me:2314: result: none needed" >&5 + echo "$as_me:2325: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) - echo "$as_me:2317: result: $ac_cv_prog_cc_stdc" >&5 + echo "$as_me:2328: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # This should have been defined by AC_PROG_CC -: ${CC:=cc} +: "${CC:=cc}" -echo "$as_me:2325: checking \$CFLAGS variable" >&5 +echo "$as_me:2336: checking \$CFLAGS variable" >&5 echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6 case "x$CFLAGS" in (*-[IUD]*) - echo "$as_me:2329: result: broken" >&5 + echo "$as_me:2340: result: broken" >&5 echo "${ECHO_T}broken" >&6 - { echo "$as_me:2331: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5 + { echo "$as_me:2342: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5 echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&2;} cf_flags="$CFLAGS" CFLAGS= @@ -2342,19 +2353,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_arg do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -2373,7 +2384,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -2403,7 +2414,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -2436,18 +2447,18 @@ fi done ;; (*) - echo "$as_me:2439: result: ok" >&5 + echo "$as_me:2450: result: ok" >&5 echo "${ECHO_T}ok" >&6 ;; esac -echo "$as_me:2444: checking \$CC variable" >&5 +echo "$as_me:2455: checking \$CC variable" >&5 echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6 case "$CC" in (*[\ \ ]-*) - echo "$as_me:2448: result: broken" >&5 + echo "$as_me:2459: result: broken" >&5 echo "${ECHO_T}broken" >&6 - { echo "$as_me:2450: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 + { echo "$as_me:2461: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'` @@ -2465,19 +2476,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_arg do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -2496,7 +2507,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -2526,7 +2537,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -2564,30 +2575,128 @@ fi done test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6 -echo "${as_me:-configure}:2567: testing resulting CC: '$CC' ..." 1>&5 +echo "${as_me:-configure}:2578: testing resulting CC: '$CC' ..." 1>&5 test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6 -echo "${as_me:-configure}:2571: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 +echo "${as_me:-configure}:2582: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6 -echo "${as_me:-configure}:2575: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5 +echo "${as_me:-configure}:2586: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5 ;; (*) - echo "$as_me:2579: result: ok" >&5 + echo "$as_me:2590: result: ok" >&5 echo "${ECHO_T}ok" >&6 ;; esac +for ac_prog in ggrep grep +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:2599: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_GREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$GREP"; then + ac_cv_prog_GREP="$GREP" # Let the user override the test. +else + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue +ac_cv_prog_GREP="$ac_prog" +echo "$as_me:2614: found $ac_dir/$ac_word" >&5 +break +done + +fi +fi +GREP=$ac_cv_prog_GREP +if test -n "$GREP"; then + echo "$as_me:2622: result: $GREP" >&5 +echo "${ECHO_T}$GREP" >&6 +else + echo "$as_me:2625: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$GREP" && break +done +test -n "$GREP" || GREP=": " + +echo "$as_me:2633: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + for ac_prog in gegrep egrep +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:2645: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $EGREP in + [\\/]* | ?:[\\/]*) + ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path. + ;; + *) + ac_save_IFS=$IFS; IFS=$ac_path_separator +ac_dummy="$PATH" +for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then + ac_cv_path_EGREP="$ac_dir/$ac_word" + echo "$as_me:2662: found $ac_dir/$ac_word" >&5 + break +fi +done + + ;; +esac +fi +EGREP=$ac_cv_path_EGREP + +if test -n "$EGREP"; then + echo "$as_me:2673: result: $EGREP" >&5 +echo "${ECHO_T}$EGREP" >&6 +else + echo "$as_me:2676: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$EGREP" && break +done +test -n "$EGREP" || EGREP=": " + + test "x$ac_cv_path" = "x:" && { { echo "$as_me:2684: error: cannot find workable egrep" >&5 +echo "$as_me: error: cannot find workable egrep" >&2;} + { (exit 1); exit 1; }; } + fi +fi +echo "$as_me:2689: result: $ac_cv_path_EGREP" >&5 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6 + EGREP="$ac_cv_path_EGREP" + ac_ext=c ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' +ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_main_return=return -echo "$as_me:2590: checking how to run the C preprocessor" >&5 +ac_main_return="return" +echo "$as_me:2699: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then @@ -2607,20 +2716,20 @@ do # with a fresh cross-compiler works. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -#line 2611 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 2720 "configure" #include "confdefs.h" #include <assert.h> Syntax error _ACEOF -if { (eval echo "$as_me:2616: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:2725: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2622: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:2731: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -2633,27 +2742,27 @@ if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 # Broken: fails on valid input. continue fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line 2645 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 2754 "configure" #include "confdefs.h" #include <ac_nonexistent.h> _ACEOF -if { (eval echo "$as_me:2649: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:2758: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2655: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:2764: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -2667,16 +2776,16 @@ if test -z "$ac_cpp_err"; then continue else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 # Passes both tests. ac_preproc_ok=: break fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" if $ac_preproc_ok; then break fi @@ -2689,7 +2798,7 @@ fi else ac_cv_prog_CPP=$CPP fi -echo "$as_me:2692: result: $CPP" >&5 +echo "$as_me:2801: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes @@ -2698,20 +2807,20 @@ do # with a fresh cross-compiler works. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -#line 2702 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 2811 "configure" #include "confdefs.h" #include <assert.h> Syntax error _ACEOF -if { (eval echo "$as_me:2707: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:2816: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2713: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:2822: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -2724,27 +2833,27 @@ if test -z "$ac_cpp_err"; then : else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 # Broken: fails on valid input. continue fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -#line 2736 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 2845 "configure" #include "confdefs.h" #include <ac_nonexistent.h> _ACEOF -if { (eval echo "$as_me:2740: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:2849: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:2746: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:2855: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -2758,32 +2867,32 @@ if test -z "$ac_cpp_err"; then continue else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 # Passes both tests. ac_preproc_ok=: break fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" if $ac_preproc_ok; then : else - { { echo "$as_me:2774: error: C preprocessor \"$CPP\" fails sanity check" >&5 + { { echo "$as_me:2883: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compile='$CC -c $CFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' +ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_main_return=return +ac_main_return="return" -echo "$as_me:2786: checking if preprocessor -C option works" >&5 +echo "$as_me:2895: checking if preprocessor -C option works" >&5 echo $ECHO_N "checking if preprocessor -C option works... $ECHO_C" >&6 if test "${cf_cv_prog_cpp_comments+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2808,34 +2917,34 @@ rm -f conftest.[ci] fi -echo "$as_me:2811: result: $cf_cv_prog_cpp_comments" >&5 +echo "$as_me:2920: result: $cf_cv_prog_cpp_comments" >&5 echo "${ECHO_T}$cf_cv_prog_cpp_comments" >&6 if test x$cf_cv_prog_cpp_comments = xyes then CPP="$CPP -C" fi -echo "$as_me:2818: checking whether ln -s works" >&5 +echo "$as_me:2927: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then - echo "$as_me:2822: result: yes" >&5 + echo "$as_me:2931: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:2825: result: no, using $LN_S" >&5 + echo "$as_me:2934: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 fi -case $host_os in +case "$host_os" in (mingw*) LN_S="cp -p" -echo "$as_me:2832: result: Override: No symbolic links in mingw." >&5 +echo "$as_me:2941: result: Override: No symbolic links in mingw." >&5 echo "${ECHO_T}Override: No symbolic links in mingw." >&6 ;; (*) ;; esac -echo "$as_me:2838: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "$as_me:2947: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then @@ -2855,11 +2964,11 @@ fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:2858: result: yes" >&5 + echo "$as_me:2967: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else - echo "$as_me:2862: result: no" >&5 + echo "$as_me:2971: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi @@ -2876,7 +2985,7 @@ fi # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. -echo "$as_me:2879: checking for a BSD compatible install" >&5 +echo "$as_me:2988: checking for a BSD compatible install" >&5 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then @@ -2925,7 +3034,7 @@ fi INSTALL=$ac_install_sh fi fi -echo "$as_me:2928: result: $INSTALL" >&5 +echo "$as_me:3037: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -2940,7 +3049,7 @@ for ac_prog in byacc 'bison -y' do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:2943: checking for $ac_word" >&5 +echo "$as_me:3052: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_YACC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2955,7 +3064,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_YACC="$ac_prog" -echo "$as_me:2958: found $ac_dir/$ac_word" >&5 +echo "$as_me:3067: found $ac_dir/$ac_word" >&5 break done @@ -2963,10 +3072,10 @@ fi fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then - echo "$as_me:2966: result: $YACC" >&5 + echo "$as_me:3075: result: $YACC" >&5 echo "${ECHO_T}$YACC" >&6 else - echo "$as_me:2969: result: no" >&5 + echo "$as_me:3078: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2978,7 +3087,7 @@ for ac_prog in lint cppcheck splint do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:2981: checking for $ac_word" >&5 +echo "$as_me:3090: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_LINT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -2993,7 +3102,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_LINT="$ac_prog" -echo "$as_me:2996: found $ac_dir/$ac_word" >&5 +echo "$as_me:3105: found $ac_dir/$ac_word" >&5 break done @@ -3001,10 +3110,10 @@ fi fi LINT=$ac_cv_prog_LINT if test -n "$LINT"; then - echo "$as_me:3004: result: $LINT" >&5 + echo "$as_me:3113: result: $LINT" >&5 echo "${ECHO_T}$LINT" >&6 else - echo "$as_me:3007: result: no" >&5 + echo "$as_me:3116: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3017,7 +3126,7 @@ case "x$LINT" in ;; esac -echo "$as_me:3020: checking for makeflags variable" >&5 +echo "$as_me:3129: checking for makeflags variable" >&5 echo $ECHO_N "checking for makeflags variable... $ECHO_C" >&6 if test "${cf_cv_makeflags+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3034,7 +3143,7 @@ CF_EOF cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp 2>/dev/null | fgrep -v "ing directory" | sed -e 's,[ ]*$,,'` case "$cf_result" in (.*k|.*kw) - cf_result=`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null` + cf_result="`${MAKE:-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`" case "$cf_result" in (.*CC=*) cf_cv_makeflags= ;; @@ -3047,7 +3156,7 @@ CF_EOF ;; (*) -echo "${as_me:-configure}:3050: testing given option \"$cf_option\",no match \"$cf_result\" ..." 1>&5 +echo "${as_me:-configure}:3159: testing given option \"$cf_option\",no match \"$cf_result\" ..." 1>&5 ;; esac @@ -3055,17 +3164,17 @@ echo "${as_me:-configure}:3050: testing given option \"$cf_option\",no match \"$ rm -f cf_makeflags.tmp fi -echo "$as_me:3058: result: $cf_cv_makeflags" >&5 +echo "$as_me:3167: result: $cf_cv_makeflags" >&5 echo "${ECHO_T}$cf_cv_makeflags" >&6 -echo "$as_me:3061: checking if filesystem supports mixed-case filenames" >&5 +echo "$as_me:3170: checking if filesystem supports mixed-case filenames" >&5 echo $ECHO_N "checking if filesystem supports mixed-case filenames... $ECHO_C" >&6 if test "${cf_cv_mixedcase+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes ; then - case $target_alias in + case "$target_alias" in (*-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-msys*|*-mingw*|*-uwin*|darwin*) cf_cv_mixedcase=no ;; @@ -3085,7 +3194,7 @@ else fi fi -echo "$as_me:3088: result: $cf_cv_mixedcase" >&5 +echo "$as_me:3197: result: $cf_cv_mixedcase" >&5 echo "${ECHO_T}$cf_cv_mixedcase" >&6 test "$cf_cv_mixedcase" = yes && cat >>confdefs.h <<\EOF @@ -3096,7 +3205,7 @@ for ac_prog in exctags ctags do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:3099: checking for $ac_word" >&5 +echo "$as_me:3208: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CTAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3111,7 +3220,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CTAGS="$ac_prog" -echo "$as_me:3114: found $ac_dir/$ac_word" >&5 +echo "$as_me:3223: found $ac_dir/$ac_word" >&5 break done @@ -3119,10 +3228,10 @@ fi fi CTAGS=$ac_cv_prog_CTAGS if test -n "$CTAGS"; then - echo "$as_me:3122: result: $CTAGS" >&5 + echo "$as_me:3231: result: $CTAGS" >&5 echo "${ECHO_T}$CTAGS" >&6 else - echo "$as_me:3125: result: no" >&5 + echo "$as_me:3234: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3133,7 +3242,7 @@ for ac_prog in exetags etags do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:3136: checking for $ac_word" >&5 +echo "$as_me:3245: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ETAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3148,7 +3257,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ETAGS="$ac_prog" -echo "$as_me:3151: found $ac_dir/$ac_word" >&5 +echo "$as_me:3260: found $ac_dir/$ac_word" >&5 break done @@ -3156,10 +3265,10 @@ fi fi ETAGS=$ac_cv_prog_ETAGS if test -n "$ETAGS"; then - echo "$as_me:3159: result: $ETAGS" >&5 + echo "$as_me:3268: result: $ETAGS" >&5 echo "${ECHO_T}$ETAGS" >&6 else - echo "$as_me:3162: result: no" >&5 + echo "$as_me:3271: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3168,7 +3277,7 @@ done # Extract the first word of "${CTAGS:-ctags}", so it can be a program name with args. set dummy ${CTAGS:-ctags}; ac_word=$2 -echo "$as_me:3171: checking for $ac_word" >&5 +echo "$as_me:3280: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_MAKE_LOWER_TAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3183,7 +3292,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_MAKE_LOWER_TAGS="yes" -echo "$as_me:3186: found $ac_dir/$ac_word" >&5 +echo "$as_me:3295: found $ac_dir/$ac_word" >&5 break done @@ -3192,17 +3301,17 @@ fi fi MAKE_LOWER_TAGS=$ac_cv_prog_MAKE_LOWER_TAGS if test -n "$MAKE_LOWER_TAGS"; then - echo "$as_me:3195: result: $MAKE_LOWER_TAGS" >&5 + echo "$as_me:3304: result: $MAKE_LOWER_TAGS" >&5 echo "${ECHO_T}$MAKE_LOWER_TAGS" >&6 else - echo "$as_me:3198: result: no" >&5 + echo "$as_me:3307: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$cf_cv_mixedcase" = yes ; then # Extract the first word of "${ETAGS:-etags}", so it can be a program name with args. set dummy ${ETAGS:-etags}; ac_word=$2 -echo "$as_me:3205: checking for $ac_word" >&5 +echo "$as_me:3314: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_MAKE_UPPER_TAGS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3217,7 +3326,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_MAKE_UPPER_TAGS="yes" -echo "$as_me:3220: found $ac_dir/$ac_word" >&5 +echo "$as_me:3329: found $ac_dir/$ac_word" >&5 break done @@ -3226,10 +3335,10 @@ fi fi MAKE_UPPER_TAGS=$ac_cv_prog_MAKE_UPPER_TAGS if test -n "$MAKE_UPPER_TAGS"; then - echo "$as_me:3229: result: $MAKE_UPPER_TAGS" >&5 + echo "$as_me:3338: result: $MAKE_UPPER_TAGS" >&5 echo "${ECHO_T}$MAKE_UPPER_TAGS" >&6 else - echo "$as_me:3232: result: no" >&5 + echo "$as_me:3341: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3252,7 +3361,7 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. set dummy ${ac_tool_prefix}windres; ac_word=$2 -echo "$as_me:3255: checking for $ac_word" >&5 +echo "$as_me:3364: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_WINDRES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3269,7 +3378,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_WINDRES="$ac_dir/$ac_word" - echo "$as_me:3272: found $ac_dir/$ac_word" >&5 + echo "$as_me:3381: found $ac_dir/$ac_word" >&5 break fi done @@ -3280,10 +3389,10 @@ fi WINDRES=$ac_cv_path_WINDRES if test -n "$WINDRES"; then - echo "$as_me:3283: result: $WINDRES" >&5 + echo "$as_me:3392: result: $WINDRES" >&5 echo "${ECHO_T}$WINDRES" >&6 else - echo "$as_me:3286: result: no" >&5 + echo "$as_me:3395: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3292,7 +3401,7 @@ if test -z "$ac_cv_path_WINDRES"; then ac_pt_WINDRES=$WINDRES # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 -echo "$as_me:3295: checking for $ac_word" >&5 +echo "$as_me:3404: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_ac_pt_WINDRES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3309,7 +3418,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_ac_pt_WINDRES="$ac_dir/$ac_word" - echo "$as_me:3312: found $ac_dir/$ac_word" >&5 + echo "$as_me:3421: found $ac_dir/$ac_word" >&5 break fi done @@ -3321,10 +3430,10 @@ fi ac_pt_WINDRES=$ac_cv_path_ac_pt_WINDRES if test -n "$ac_pt_WINDRES"; then - echo "$as_me:3324: result: $ac_pt_WINDRES" >&5 + echo "$as_me:3433: result: $ac_pt_WINDRES" >&5 echo "${ECHO_T}$ac_pt_WINDRES" >&6 else - echo "$as_me:3327: result: no" >&5 + echo "$as_me:3436: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3352,7 +3461,7 @@ else do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:3355: checking for $ac_word" >&5 +echo "$as_me:3464: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_BUILD_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3367,7 +3476,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_BUILD_CC="$ac_prog" -echo "$as_me:3370: found $ac_dir/$ac_word" >&5 +echo "$as_me:3479: found $ac_dir/$ac_word" >&5 break done @@ -3375,10 +3484,10 @@ fi fi BUILD_CC=$ac_cv_prog_BUILD_CC if test -n "$BUILD_CC"; then - echo "$as_me:3378: result: $BUILD_CC" >&5 + echo "$as_me:3487: result: $BUILD_CC" >&5 echo "${ECHO_T}$BUILD_CC" >&6 else - echo "$as_me:3381: result: no" >&5 + echo "$as_me:3490: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3387,12 +3496,12 @@ done test -n "$BUILD_CC" || BUILD_CC="none" fi; - echo "$as_me:3390: checking for native build C compiler" >&5 + echo "$as_me:3499: checking for native build C compiler" >&5 echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6 - echo "$as_me:3392: result: $BUILD_CC" >&5 + echo "$as_me:3501: result: $BUILD_CC" >&5 echo "${ECHO_T}$BUILD_CC" >&6 - echo "$as_me:3395: checking for native build C preprocessor" >&5 + echo "$as_me:3504: checking for native build C preprocessor" >&5 echo $ECHO_N "checking for native build C preprocessor... $ECHO_C" >&6 # Check whether --with-build-cpp or --without-build-cpp was given. @@ -3402,10 +3511,10 @@ if test "${with_build_cpp+set}" = set; then else BUILD_CPP='${BUILD_CC} -E' fi; - echo "$as_me:3405: result: $BUILD_CPP" >&5 + echo "$as_me:3514: result: $BUILD_CPP" >&5 echo "${ECHO_T}$BUILD_CPP" >&6 - echo "$as_me:3408: checking for native build C flags" >&5 + echo "$as_me:3517: checking for native build C flags" >&5 echo $ECHO_N "checking for native build C flags... $ECHO_C" >&6 # Check whether --with-build-cflags or --without-build-cflags was given. @@ -3413,10 +3522,10 @@ if test "${with_build_cflags+set}" = set; then withval="$with_build_cflags" BUILD_CFLAGS="$withval" fi; - echo "$as_me:3416: result: $BUILD_CFLAGS" >&5 + echo "$as_me:3525: result: $BUILD_CFLAGS" >&5 echo "${ECHO_T}$BUILD_CFLAGS" >&6 - echo "$as_me:3419: checking for native build C preprocessor-flags" >&5 + echo "$as_me:3528: checking for native build C preprocessor-flags" >&5 echo $ECHO_N "checking for native build C preprocessor-flags... $ECHO_C" >&6 # Check whether --with-build-cppflags or --without-build-cppflags was given. @@ -3424,10 +3533,10 @@ if test "${with_build_cppflags+set}" = set; then withval="$with_build_cppflags" BUILD_CPPFLAGS="$withval" fi; - echo "$as_me:3427: result: $BUILD_CPPFLAGS" >&5 + echo "$as_me:3536: result: $BUILD_CPPFLAGS" >&5 echo "${ECHO_T}$BUILD_CPPFLAGS" >&6 - echo "$as_me:3430: checking for native build linker-flags" >&5 + echo "$as_me:3539: checking for native build linker-flags" >&5 echo $ECHO_N "checking for native build linker-flags... $ECHO_C" >&6 # Check whether --with-build-ldflags or --without-build-ldflags was given. @@ -3435,10 +3544,10 @@ if test "${with_build_ldflags+set}" = set; then withval="$with_build_ldflags" BUILD_LDFLAGS="$withval" fi; - echo "$as_me:3438: result: $BUILD_LDFLAGS" >&5 + echo "$as_me:3547: result: $BUILD_LDFLAGS" >&5 echo "${ECHO_T}$BUILD_LDFLAGS" >&6 - echo "$as_me:3441: checking for native build linker-libraries" >&5 + echo "$as_me:3550: checking for native build linker-libraries" >&5 echo $ECHO_N "checking for native build linker-libraries... $ECHO_C" >&6 # Check whether --with-build-libs or --without-build-libs was given. @@ -3446,7 +3555,7 @@ if test "${with_build_libs+set}" = set; then withval="$with_build_libs" BUILD_LIBS="$withval" fi; - echo "$as_me:3449: result: $BUILD_LIBS" >&5 + echo "$as_me:3558: result: $BUILD_LIBS" >&5 echo "${ECHO_T}$BUILD_LIBS" >&6 # this assumes we're on Unix. @@ -3455,8 +3564,8 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 : ${BUILD_CC:='${CC}'} - if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then - { { echo "$as_me:3459: error: Cross-build requires two compilers. + if { test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}'; } ; then + { { echo "$as_me:3568: error: Cross-build requires two compilers. Use --with-build-cc to specify the native compiler." >&5 echo "$as_me: error: Cross-build requires two compilers. Use --with-build-cc to specify the native compiler." >&2;} @@ -3477,7 +3586,7 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -echo "$as_me:3480: checking for $ac_word" >&5 +echo "$as_me:3589: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3492,7 +3601,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -echo "$as_me:3495: found $ac_dir/$ac_word" >&5 +echo "$as_me:3604: found $ac_dir/$ac_word" >&5 break done @@ -3500,10 +3609,10 @@ fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - echo "$as_me:3503: result: $RANLIB" >&5 + echo "$as_me:3612: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else - echo "$as_me:3506: result: no" >&5 + echo "$as_me:3615: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3512,7 +3621,7 @@ if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -echo "$as_me:3515: checking for $ac_word" >&5 +echo "$as_me:3624: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3527,7 +3636,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_RANLIB="ranlib" -echo "$as_me:3530: found $ac_dir/$ac_word" >&5 +echo "$as_me:3639: found $ac_dir/$ac_word" >&5 break done @@ -3536,10 +3645,10 @@ fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - echo "$as_me:3539: result: $ac_ct_RANLIB" >&5 + echo "$as_me:3648: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else - echo "$as_me:3542: result: no" >&5 + echo "$as_me:3651: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3551,7 +3660,7 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -echo "$as_me:3554: checking for $ac_word" >&5 +echo "$as_me:3663: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3566,7 +3675,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_AR="${ac_tool_prefix}ar" -echo "$as_me:3569: found $ac_dir/$ac_word" >&5 +echo "$as_me:3678: found $ac_dir/$ac_word" >&5 break done @@ -3574,10 +3683,10 @@ fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - echo "$as_me:3577: result: $AR" >&5 + echo "$as_me:3686: result: $AR" >&5 echo "${ECHO_T}$AR" >&6 else - echo "$as_me:3580: result: no" >&5 + echo "$as_me:3689: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3586,7 +3695,7 @@ if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -echo "$as_me:3589: checking for $ac_word" >&5 +echo "$as_me:3698: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3601,7 +3710,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_AR="ar" -echo "$as_me:3604: found $ac_dir/$ac_word" >&5 +echo "$as_me:3713: found $ac_dir/$ac_word" >&5 break done @@ -3610,10 +3719,10 @@ fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - echo "$as_me:3613: result: $ac_ct_AR" >&5 + echo "$as_me:3722: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6 else - echo "$as_me:3616: result: no" >&5 + echo "$as_me:3725: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -3622,13 +3731,13 @@ else AR="$ac_cv_prog_AR" fi -echo "$as_me:3625: checking for options to update archives" >&5 +echo "$as_me:3734: checking for options to update archives" >&5 echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6 if test "${cf_cv_ar_flags+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $cf_cv_system_name in + case "$cf_cv_system_name" in (*-msvc*) cf_cv_ar_flags='' cat >mk_static_lib.sh <<-EOF @@ -3655,38 +3764,38 @@ else fi fi - rm -f conftest.$ac_cv_objext + rm -f "conftest.$ac_cv_objext" rm -f conftest.a - cat >conftest.$ac_ext <<EOF -#line 3662 "configure" + cat >"conftest.$ac_ext" <<EOF +#line 3771 "configure" int testdata[3] = { 123, 456, 789 }; EOF - if { (eval echo "$as_me:3665: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:3774: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3668: \$? = $ac_status" >&5 - (exit $ac_status); } ; then + echo "$as_me:3777: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then echo "$AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext" >&5 - $AR $ARFLAGS $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&5 1>/dev/null + $AR $ARFLAGS "$cf_ar_flags" conftest.a "conftest.$ac_cv_objext" 2>&5 1>/dev/null if test -f conftest.a ; then - cf_cv_ar_flags=$cf_ar_flags + cf_cv_ar_flags="$cf_ar_flags" break fi else test -n "$verbose" && echo " cannot compile test-program" 1>&6 -echo "${as_me:-configure}:3679: testing cannot compile test-program ..." 1>&5 +echo "${as_me:-configure}:3788: testing cannot compile test-program ..." 1>&5 break fi done - rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext + rm -f conftest.a "conftest.$ac_ext" "conftest.$ac_cv_objext" ;; esac fi -echo "$as_me:3689: result: $cf_cv_ar_flags" >&5 +echo "$as_me:3798: result: $cf_cv_ar_flags" >&5 echo "${ECHO_T}$cf_cv_ar_flags" >&6 if test -n "$ARFLAGS" ; then @@ -3697,7 +3806,7 @@ else ARFLAGS=$cf_cv_ar_flags fi -echo "$as_me:3700: checking if you want to see long compiling messages" >&5 +echo "$as_me:3809: checking if you want to see long compiling messages" >&5 echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6 # Check whether --enable-echo or --disable-echo was given. @@ -3731,7 +3840,7 @@ else ECHO_CC='' fi; -echo "$as_me:3734: result: $enableval" >&5 +echo "$as_me:3843: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 # special case for WWW/* @@ -3741,7 +3850,7 @@ else DONT_ECHO_CC='' fi -echo "$as_me:3744: checking if you want to check memory-leaks" >&5 +echo "$as_me:3853: checking if you want to check memory-leaks" >&5 echo $ECHO_N "checking if you want to check memory-leaks... $ECHO_C" >&6 # Check whether --enable-find-leaks or --disable-find-leaks was given. @@ -3758,7 +3867,7 @@ else with_leak_checks=no fi; -echo "$as_me:3761: result: $with_leak_checks" >&5 +echo "$as_me:3870: result: $with_leak_checks" >&5 echo "${ECHO_T}$with_leak_checks" >&6 test "$with_leak_checks" = "yes" && cat >>confdefs.h <<\EOF @@ -3768,7 +3877,7 @@ EOF # The comment about adding -g to $CFLAGS is unclear. Autoconf tries to add # a -g flag; we remove it if the user's $CFLAGS was not set and debugging is # disabled. -echo "$as_me:3771: checking if you want to enable debug-code" >&5 +echo "$as_me:3880: checking if you want to enable debug-code" >&5 echo $ECHO_N "checking if you want to enable debug-code... $ECHO_C" >&6 # Check whether --enable-debug or --disable-debug was given. @@ -3785,13 +3894,13 @@ else with_debug=no fi; -echo "$as_me:3788: result: $with_debug" >&5 +echo "$as_me:3897: result: $with_debug" >&5 echo "${ECHO_T}$with_debug" >&6 if test "$with_debug" = "yes" ; then - case $host_os in + case "$host_os" in (ultrix*|osf*) test -z "$ORIGINAL_CFLAGS" && -CFLAGS=`echo ${CFLAGS} | sed -e 's/-O[1-9]\? //' -e 's/-O[1-9]\?$//'` +CFLAGS=`echo "${CFLAGS}" | sed -e 's%-O1-9\? %%' -e 's%-O1-9\?$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` if test -z "$GCC" ; then CFLAGS="$CFLAGS -g3" @@ -3799,18 +3908,18 @@ CFLAGS=`echo ${CFLAGS} | sed -e 's/-O[1-9]\? //' -e 's/-O[1-9]\?$//'` ;; esac else - case $host_os in + case "$host_os" in (osf*) test -z "$GCC" && CFLAGS="$CFLAGS -std1" - test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo ${CFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'` + test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` ;; (*) - test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo ${CFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'` + test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo "${CFLAGS}" | sed -e 's%-g %%' -e 's%-g$%%' -e 's%[ ]% %g' -e 's% [ ]*% %g' -e 's%^ %%' -e 's% $%%'` ;; esac fi -echo "$as_me:3813: checking if you want to enable lynx trace code *recommended* " >&5 +echo "$as_me:3922: checking if you want to enable lynx trace code *recommended* " >&5 echo $ECHO_N "checking if you want to enable lynx trace code *recommended* ... $ECHO_C" >&6 # Check whether --enable-trace or --disable-trace was given. @@ -3827,14 +3936,14 @@ else with_trace=yes fi; -echo "$as_me:3830: result: $with_trace" >&5 +echo "$as_me:3939: result: $with_trace" >&5 echo "${ECHO_T}$with_trace" >&6 -test $with_trace = no && +test "$with_trace" = no && cat >>confdefs.h <<\EOF #define NO_LYNX_TRACE 1 EOF -echo "$as_me:3837: checking if you want verbose trace code" >&5 +echo "$as_me:3946: checking if you want verbose trace code" >&5 echo $ECHO_N "checking if you want verbose trace code... $ECHO_C" >&6 # Check whether --enable-vertrace or --disable-vertrace was given. @@ -3851,16 +3960,16 @@ else with_vertrace=no fi; -echo "$as_me:3854: result: $with_vertrace" >&5 +echo "$as_me:3963: result: $with_vertrace" >&5 echo "${ECHO_T}$with_vertrace" >&6 -test $with_vertrace = yes && +test "$with_vertrace" = yes && cat >>confdefs.h <<\EOF #define LY_TRACELINE __LINE__ EOF if test -n "$with_screen" && test "x$with_screen" = "xpdcurses" then - echo "$as_me:3863: checking for X" >&5 + echo "$as_me:3972: checking for X" >&5 echo $ECHO_N "checking for X... $ECHO_C" >&6 # Check whether --with-x or --without-x was given. @@ -3892,11 +4001,11 @@ acfindx: EOF if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then # GNU make sometimes prints "make[1]: Entering...", which would confuse us. - eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` + eval "`${MAKE-make} acfindx 2>/dev/null | grep -v make`" # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. for ac_extension in a so sl dylib dll; do - if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && - test -f $ac_im_libdir/libX11.$ac_extension; then + if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && + test -f "$ac_im_libdir/libX11.$ac_extension"; then ac_im_usrlibdir=$ac_im_libdir; break fi done @@ -3963,19 +4072,19 @@ ac_x_header_dirs=' if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Intrinsic.h. # First, try using that file with no special directory specified. - cat >conftest.$ac_ext <<_ACEOF -#line 3967 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4076 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> _ACEOF -if { (eval echo "$as_me:3971: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:4080: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:3977: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:4086: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -3989,7 +4098,7 @@ if test -z "$ac_cpp_err"; then ac_x_includes= else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Intrinsic.h"; then ac_x_includes=$ac_dir @@ -3997,7 +4106,7 @@ else fi done fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi # $ac_x_includes = no if test "$ac_x_libraries" = no; then @@ -4006,8 +4115,8 @@ if test "$ac_x_libraries" = no; then # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS LIBS="-lXt $LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 4010 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4119 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> int @@ -4018,37 +4127,37 @@ XtMalloc (0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4022: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4131: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4025: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4028: \"$ac_try\"") >&5 + echo "$as_me:4134: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4137: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4031: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4140: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS=$ac_save_LIBS for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl dylib dll; do - if test -r $ac_dir/libXt.$ac_extension; then + if test -r "$ac_dir/libXt.$ac_extension"; then ac_x_libraries=$ac_dir break 2 fi done done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi # $ac_x_libraries = no if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then @@ -4066,7 +4175,7 @@ fi fi # $with_x != no if test "$have_x" != yes; then - echo "$as_me:4069: result: $have_x" >&5 + echo "$as_me:4178: result: $have_x" >&5 echo "${ECHO_T}$have_x" >&6 no_x=yes else @@ -4076,7 +4185,7 @@ else # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes \ ac_x_includes=$x_includes ac_x_libraries=$x_libraries" - echo "$as_me:4079: result: libraries $x_libraries, headers $x_includes" >&5 + echo "$as_me:4188: result: libraries $x_libraries, headers $x_includes" >&5 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 fi @@ -4087,7 +4196,10 @@ cat >>confdefs.h <<\EOF #define X_DISPLAY_MISSING 1 EOF - X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= + X_CFLAGS= + X_PRE_LIBS= + X_LIBS= + X_EXTRA_LIBS= else if test -n "$x_includes"; then X_CFLAGS="$X_CFLAGS -I$x_includes" @@ -4100,11 +4212,11 @@ else # others require no space. Words are not sufficient . . . . case `(uname -sr) 2>/dev/null` in "SunOS 5"*) - echo "$as_me:4103: checking whether -R must be followed by a space" >&5 + echo "$as_me:4215: checking whether -R must be followed by a space" >&5 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" - cat >conftest.$ac_ext <<_ACEOF -#line 4107 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4219 "configure" #include "confdefs.h" int @@ -4115,33 +4227,33 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4119: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4231: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4122: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4125: \"$ac_try\"") >&5 + echo "$as_me:4234: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4237: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4128: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4240: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_R_nospace=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_R_nospace=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" if test $ac_R_nospace = yes; then - echo "$as_me:4138: result: no" >&5 + echo "$as_me:4250: result: no" >&5 echo "${ECHO_T}no" >&6 X_LIBS="$X_LIBS -R$x_libraries" else LIBS="$ac_xsave_LIBS -R $x_libraries" - cat >conftest.$ac_ext <<_ACEOF -#line 4144 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4256 "configure" #include "confdefs.h" int @@ -4152,31 +4264,31 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4156: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4268: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4159: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4162: \"$ac_try\"") >&5 + echo "$as_me:4271: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4274: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4165: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4277: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_R_space=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_R_space=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" if test $ac_R_space = yes; then - echo "$as_me:4175: result: yes" >&5 + echo "$as_me:4287: result: yes" >&5 echo "${ECHO_T}yes" >&6 X_LIBS="$X_LIBS -R $x_libraries" else - echo "$as_me:4179: result: neither works" >&5 + echo "$as_me:4291: result: neither works" >&5 echo "${ECHO_T}neither works" >&6 fi fi @@ -4195,8 +4307,8 @@ echo "${ECHO_T}neither works" >&6 # libraries were built with DECnet support. And Karl Berry says # the Alpha needs dnet_stub (dnet does not exist). ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" - cat >conftest.$ac_ext <<_ACEOF -#line 4199 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4311 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4214,31 +4326,31 @@ XOpenDisplay (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4218: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4330: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4221: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4224: \"$ac_try\"") >&5 + echo "$as_me:4333: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4336: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4227: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4339: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:4233: checking for dnet_ntoa in -ldnet" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:4345: checking for dnet_ntoa in -ldnet" >&5 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 4241 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 4353 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4256,43 +4368,43 @@ dnet_ntoa (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4260: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4372: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4263: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4266: \"$ac_try\"") >&5 + echo "$as_me:4375: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4378: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4269: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4381: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_dnet_dnet_ntoa=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_dnet_dnet_ntoa=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4280: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 +echo "$as_me:4392: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 -if test $ac_cv_lib_dnet_dnet_ntoa = yes; then +if test "$ac_cv_lib_dnet_dnet_ntoa" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then - echo "$as_me:4287: checking for dnet_ntoa in -ldnet_stub" >&5 + echo "$as_me:4399: checking for dnet_ntoa in -ldnet_stub" >&5 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet_stub $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 4295 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 4407 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4310,36 +4422,36 @@ dnet_ntoa (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4314: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4426: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4317: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4320: \"$ac_try\"") >&5 + echo "$as_me:4429: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4432: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4323: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4435: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_dnet_stub_dnet_ntoa=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_dnet_stub_dnet_ntoa=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4334: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 +echo "$as_me:4446: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 -if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then +if test "$ac_cv_lib_dnet_stub_dnet_ntoa" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" fi fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$ac_xsave_LIBS" # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, @@ -4350,13 +4462,13 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext # on Irix 5.2, according to T.E. Dickey. # The functions gethostbyname, getservbyname, and inet_addr are # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. - echo "$as_me:4353: checking for gethostbyname" >&5 + echo "$as_me:4465: checking for gethostbyname" >&5 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 if test "${ac_cv_func_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 4359 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4471 "configure" #include "confdefs.h" #define gethostbyname autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -4386,39 +4498,39 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4390: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4502: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4393: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4396: \"$ac_try\"") >&5 + echo "$as_me:4505: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4508: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4399: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4511: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_gethostbyname=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_gethostbyname=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:4409: result: $ac_cv_func_gethostbyname" >&5 +echo "$as_me:4521: result: $ac_cv_func_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 if test $ac_cv_func_gethostbyname = no; then - echo "$as_me:4413: checking for gethostbyname in -lnsl" >&5 + echo "$as_me:4525: checking for gethostbyname in -lnsl" >&5 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 4421 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 4533 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4436,43 +4548,43 @@ gethostbyname (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4440: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4552: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4443: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4446: \"$ac_try\"") >&5 + echo "$as_me:4555: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4558: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4449: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4561: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_nsl_gethostbyname=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_nsl_gethostbyname=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4460: result: $ac_cv_lib_nsl_gethostbyname" >&5 +echo "$as_me:4572: result: $ac_cv_lib_nsl_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 -if test $ac_cv_lib_nsl_gethostbyname = yes; then +if test "$ac_cv_lib_nsl_gethostbyname" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" fi if test $ac_cv_lib_nsl_gethostbyname = no; then - echo "$as_me:4467: checking for gethostbyname in -lbsd" >&5 + echo "$as_me:4579: checking for gethostbyname in -lbsd" >&5 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 4475 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 4587 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4490,30 +4602,30 @@ gethostbyname (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4494: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4606: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4497: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4500: \"$ac_try\"") >&5 + echo "$as_me:4609: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4612: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4503: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4615: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_bsd_gethostbyname=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_bsd_gethostbyname=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4514: result: $ac_cv_lib_bsd_gethostbyname" >&5 +echo "$as_me:4626: result: $ac_cv_lib_bsd_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 -if test $ac_cv_lib_bsd_gethostbyname = yes; then +if test "$ac_cv_lib_bsd_gethostbyname" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" fi @@ -4527,13 +4639,13 @@ fi # variants that don't use the nameserver (or something). -lsocket # must be given before -lnsl if both are needed. We assume that # if connect needs -lnsl, so does gethostbyname. - echo "$as_me:4530: checking for connect" >&5 + echo "$as_me:4642: checking for connect" >&5 echo $ECHO_N "checking for connect... $ECHO_C" >&6 if test "${ac_cv_func_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 4536 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4648 "configure" #include "confdefs.h" #define connect autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -4563,39 +4675,39 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4567: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4679: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4570: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4573: \"$ac_try\"") >&5 + echo "$as_me:4682: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4685: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4576: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4688: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_connect=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_connect=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:4586: result: $ac_cv_func_connect" >&5 +echo "$as_me:4698: result: $ac_cv_func_connect" >&5 echo "${ECHO_T}$ac_cv_func_connect" >&6 if test $ac_cv_func_connect = no; then - echo "$as_me:4590: checking for connect in -lsocket" >&5 + echo "$as_me:4702: checking for connect in -lsocket" >&5 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 if test "${ac_cv_lib_socket_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $X_EXTRA_LIBS $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 4598 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 4710 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4613,43 +4725,43 @@ connect (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4617: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4729: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4620: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4623: \"$ac_try\"") >&5 + echo "$as_me:4732: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4735: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4626: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4738: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_socket_connect=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_socket_connect=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4637: result: $ac_cv_lib_socket_connect" >&5 +echo "$as_me:4749: result: $ac_cv_lib_socket_connect" >&5 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 -if test $ac_cv_lib_socket_connect = yes; then +if test "$ac_cv_lib_socket_connect" = yes; then X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" fi fi # Guillermo Gomez says -lposix is necessary on A/UX. - echo "$as_me:4646: checking for remove" >&5 + echo "$as_me:4758: checking for remove" >&5 echo $ECHO_N "checking for remove... $ECHO_C" >&6 if test "${ac_cv_func_remove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 4652 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4764 "configure" #include "confdefs.h" #define remove autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -4679,39 +4791,39 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4683: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4795: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4686: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4689: \"$ac_try\"") >&5 + echo "$as_me:4798: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4801: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4692: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4804: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_remove=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_remove=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:4702: result: $ac_cv_func_remove" >&5 +echo "$as_me:4814: result: $ac_cv_func_remove" >&5 echo "${ECHO_T}$ac_cv_func_remove" >&6 if test $ac_cv_func_remove = no; then - echo "$as_me:4706: checking for remove in -lposix" >&5 + echo "$as_me:4818: checking for remove in -lposix" >&5 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 if test "${ac_cv_lib_posix_remove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lposix $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 4714 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 4826 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4729,43 +4841,43 @@ remove (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4733: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4845: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4736: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4739: \"$ac_try\"") >&5 + echo "$as_me:4848: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4851: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4742: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4854: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_posix_remove=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_posix_remove=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4753: result: $ac_cv_lib_posix_remove" >&5 +echo "$as_me:4865: result: $ac_cv_lib_posix_remove" >&5 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 -if test $ac_cv_lib_posix_remove = yes; then +if test "$ac_cv_lib_posix_remove" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" fi fi # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. - echo "$as_me:4762: checking for shmat" >&5 + echo "$as_me:4874: checking for shmat" >&5 echo $ECHO_N "checking for shmat... $ECHO_C" >&6 if test "${ac_cv_func_shmat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 4768 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 4880 "configure" #include "confdefs.h" #define shmat autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -4795,39 +4907,39 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4799: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4911: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4802: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4805: \"$ac_try\"") >&5 + echo "$as_me:4914: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4917: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4808: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4920: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_shmat=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_shmat=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:4818: result: $ac_cv_func_shmat" >&5 +echo "$as_me:4930: result: $ac_cv_func_shmat" >&5 echo "${ECHO_T}$ac_cv_func_shmat" >&6 if test $ac_cv_func_shmat = no; then - echo "$as_me:4822: checking for shmat in -lipc" >&5 + echo "$as_me:4934: checking for shmat in -lipc" >&5 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 if test "${ac_cv_lib_ipc_shmat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lipc $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 4830 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 4942 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4845,30 +4957,30 @@ shmat (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4849: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:4961: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4852: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4855: \"$ac_try\"") >&5 + echo "$as_me:4964: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:4967: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4858: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:4970: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_ipc_shmat=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_ipc_shmat=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4869: result: $ac_cv_lib_ipc_shmat" >&5 +echo "$as_me:4981: result: $ac_cv_lib_ipc_shmat" >&5 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 -if test $ac_cv_lib_ipc_shmat = yes; then +if test "$ac_cv_lib_ipc_shmat" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" fi @@ -4884,15 +4996,15 @@ fi # These have to be linked with before -lX11, unlike the other # libraries we check for below, so use a different variable. # John Interrante, Karl Berry - echo "$as_me:4887: checking for IceConnectionNumber in -lICE" >&5 + echo "$as_me:4999: checking for IceConnectionNumber in -lICE" >&5 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lICE $X_EXTRA_LIBS $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 4895 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 5007 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -4910,30 +5022,30 @@ IceConnectionNumber (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4914: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:5026: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4917: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4920: \"$ac_try\"") >&5 + echo "$as_me:5029: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:5032: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4923: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:5035: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_ICE_IceConnectionNumber=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_ICE_IceConnectionNumber=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:4934: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 +echo "$as_me:5046: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 -if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then +if test "$ac_cv_lib_ICE_IceConnectionNumber" = yes; then X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" fi @@ -4943,16 +5055,16 @@ fi fi -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then case $CFLAGS in (*-Werror=*) test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 -echo "${as_me:-configure}:4955: testing repairing CFLAGS: $CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5067: testing repairing CFLAGS: $CFLAGS ..." 1>&5 cf_temp_flags= for cf_temp_scan in $CFLAGS @@ -4961,13 +5073,13 @@ echo "${as_me:-configure}:4955: testing repairing CFLAGS: $CFLAGS ..." 1>&5 (x-Werror=*) test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS " - EXTRA_CFLAGS="${EXTRA_CFLAGS}"$cf_temp_scan"" + EXTRA_CFLAGS="${EXTRA_CFLAGS}$cf_temp_scan" ;; (*) test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags " - cf_temp_flags="${cf_temp_flags}"$cf_temp_scan"" + cf_temp_flags="${cf_temp_flags}$cf_temp_scan" ;; esac @@ -4975,23 +5087,23 @@ echo "${as_me:-configure}:4955: testing repairing CFLAGS: $CFLAGS ..." 1>&5 CFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 -echo "${as_me:-configure}:4978: testing ... fixed $CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5090: testing ... fixed $CFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:4982: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5094: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ;; esac fi -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then case $CPPFLAGS in (*-Werror=*) test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 -echo "${as_me:-configure}:4994: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:5106: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 cf_temp_flags= for cf_temp_scan in $CPPFLAGS @@ -5000,13 +5112,13 @@ echo "${as_me:-configure}:4994: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 (x-Werror=*) test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS " - EXTRA_CFLAGS="${EXTRA_CFLAGS}"$cf_temp_scan"" + EXTRA_CFLAGS="${EXTRA_CFLAGS}$cf_temp_scan" ;; (*) test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags " - cf_temp_flags="${cf_temp_flags}"$cf_temp_scan"" + cf_temp_flags="${cf_temp_flags}$cf_temp_scan" ;; esac @@ -5014,23 +5126,23 @@ echo "${as_me:-configure}:4994: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 CPPFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 -echo "${as_me:-configure}:5017: testing ... fixed $CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:5129: testing ... fixed $CPPFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:5021: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5133: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ;; esac fi -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then case $LDFLAGS in (*-Werror=*) test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 -echo "${as_me:-configure}:5033: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:5145: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 cf_temp_flags= for cf_temp_scan in $LDFLAGS @@ -5039,13 +5151,13 @@ echo "${as_me:-configure}:5033: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 (x-Werror=*) test -n "$EXTRA_CFLAGS" && EXTRA_CFLAGS="$EXTRA_CFLAGS " - EXTRA_CFLAGS="${EXTRA_CFLAGS}"$cf_temp_scan"" + EXTRA_CFLAGS="${EXTRA_CFLAGS}$cf_temp_scan" ;; (*) test -n "$cf_temp_flags" && cf_temp_flags="$cf_temp_flags " - cf_temp_flags="${cf_temp_flags}"$cf_temp_scan"" + cf_temp_flags="${cf_temp_flags}$cf_temp_scan" ;; esac @@ -5053,17 +5165,17 @@ echo "${as_me:-configure}:5033: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 LDFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 -echo "${as_me:-configure}:5056: testing ... fixed $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:5168: testing ... fixed $LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:5060: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:5172: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ;; esac fi -echo "$as_me:5066: checking if you want to turn on gcc warnings" >&5 +echo "$as_me:5178: checking if you want to turn on gcc warnings" >&5 echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 # Check whether --enable-warnings or --disable-warnings was given. @@ -5080,12 +5192,12 @@ else with_warnings=no fi; -echo "$as_me:5083: result: $with_warnings" >&5 +echo "$as_me:5195: result: $with_warnings" >&5 echo "${ECHO_T}$with_warnings" >&6 if test "$with_warnings" = "yes" then -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then cat > conftest.i <<EOF #ifndef GCC_PRINTF @@ -5103,10 +5215,10 @@ cat > conftest.i <<EOF EOF if test "$GCC" = yes then - { echo "$as_me:5106: checking for $CC __attribute__ directives..." >&5 + { echo "$as_me:5218: checking for $CC __attribute__ directives..." >&5 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} -cat > conftest.$ac_ext <<EOF -#line 5109 "${as_me:-configure}" +cat > "conftest.$ac_ext" <<EOF +#line 5221 "${as_me:-configure}" #include "confdefs.h" #include "conftest.h" #include "conftest.i" @@ -5135,7 +5247,7 @@ cf_ATTRIBUTE=`echo "$cf_attribute" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFG cf_directive="__attribute__(($cf_attribute))" echo "checking for $CC $cf_directive" 1>&5 - case $cf_attribute in + case "$cf_attribute" in (printf) cf_printf_attribute=yes cat >conftest.h <<EOF @@ -5155,15 +5267,15 @@ EOF ;; esac - if { (eval echo "$as_me:5158: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:5270: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5161: \$? = $ac_status" >&5 - (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:5163: result: ... $cf_attribute" >&5 + echo "$as_me:5273: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + test -n "$verbose" && echo "$as_me:5275: result: ... $cf_attribute" >&5 echo "${ECHO_T}... $cf_attribute" >&6 cat conftest.h >>confdefs.h - case $cf_attribute in + case "$cf_attribute" in (noreturn) cat >>confdefs.h <<EOF @@ -5216,7 +5328,7 @@ EOF else fgrep define conftest.i >>confdefs.h fi -rm -rf conftest* +rm -rf ./conftest* fi if test "x$have_x" = xyes; then @@ -5237,8 +5349,8 @@ do esac done -cat >conftest.$ac_ext <<_ACEOF -#line 5241 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 5353 "configure" #include "confdefs.h" #include <stdlib.h> @@ -5252,27 +5364,27 @@ String foo = malloc(1); (void)foo return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:5256: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:5368: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5259: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5262: \"$ac_try\"") >&5 + echo "$as_me:5371: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:5374: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5265: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:5377: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then -echo "$as_me:5268: checking for X11/Xt const-feature" >&5 +echo "$as_me:5380: checking for X11/Xt const-feature" >&5 echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 if test "${cf_cv_const_x_string+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 5275 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 5387 "configure" #include "confdefs.h" #define _CONST_X_STRING /* X11R7.8 (perhaps) */ @@ -5288,39 +5400,39 @@ String foo = malloc(1); *foo = 0 return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:5292: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:5404: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5295: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5298: \"$ac_try\"") >&5 + echo "$as_me:5407: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:5410: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5301: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:5413: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_const_x_string=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_const_x_string=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:5316: result: $cf_cv_const_x_string" >&5 +echo "$as_me:5428: result: $cf_cv_const_x_string" >&5 echo "${ECHO_T}$cf_cv_const_x_string" >&6 LIBS="$cf_save_LIBS_CF_CONST_X_STRING" CFLAGS="$cf_save_CFLAGS_CF_CONST_X_STRING" CPPFLAGS="$cf_save_CPPFLAGS_CF_CONST_X_STRING" -case $cf_cv_const_x_string in +case "$cf_cv_const_x_string" in (no) test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " @@ -5337,12 +5449,12 @@ esac else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -cat > conftest.$ac_ext <<EOF -#line 5345 "${as_me:-configure}" +cat > "conftest.$ac_ext" <<EOF +#line 5457 "${as_me:-configure}" int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } EOF if test "$INTEL_COMPILER" = yes @@ -5358,7 +5470,7 @@ then # remark #981: operands are evaluated in unspecified order # warning #279: controlling expression is constant - { echo "$as_me:5361: checking for $CC warning options..." >&5 + { echo "$as_me:5473: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" @@ -5374,12 +5486,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} wd981 do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:5377: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:5489: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5380: \$? = $ac_status" >&5 - (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:5382: result: ... -$cf_opt" >&5 + echo "$as_me:5492: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + test -n "$verbose" && echo "$as_me:5494: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi @@ -5387,7 +5499,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 CFLAGS="$cf_save_CFLAGS" elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" then - { echo "$as_me:5390: checking for $CC warning options..." >&5 + { echo "$as_me:5502: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" cf_warn_CONST="" @@ -5410,30 +5522,30 @@ echo "$as_me: checking for $CC warning options..." >&6;} Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:5413: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:5525: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5416: \$? = $ac_status" >&5 - (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:5418: result: ... -$cf_opt" >&5 + echo "$as_me:5528: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + test -n "$verbose" && echo "$as_me:5530: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 - case $cf_opt in + case "$cf_opt" in (Winline) - case $GCC_VERSION in + case "$GCC_VERSION" in ([34].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:5426: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:5538: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac ;; (Wpointer-arith) - case $GCC_VERSION in + case "$GCC_VERSION" in ([12].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:5436: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:5548: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -5444,13 +5556,13 @@ echo "${as_me:-configure}:5436: testing feature is broken in gcc $GCC_VERSION .. done CFLAGS="$cf_save_CFLAGS" fi -rm -rf conftest* +rm -rf ./conftest* fi fi -echo "$as_me:5453: checking if you want to use dbmalloc for testing" >&5 +echo "$as_me:5565: checking if you want to use dbmalloc for testing" >&5 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6 # Check whether --with-dbmalloc or --without-dbmalloc was given. @@ -5461,16 +5573,16 @@ cat >>confdefs.h <<EOF #define USE_DBMALLOC 1 EOF - : ${with_cflags:=-g} - : ${with_no_leaks:=yes} + : "${with_cflags:=-g}" + : "${with_no_leaks:=yes}" with_dbmalloc=yes else with_dbmalloc= fi; -echo "$as_me:5470: result: ${with_dbmalloc:-no}" >&5 +echo "$as_me:5582: result: ${with_dbmalloc:-no}" >&5 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 -case .$with_cflags in +case ".$with_cflags" in (.*-g*) case .$CFLAGS in (.*-g*) @@ -5484,19 +5596,19 @@ cf_new_extra_cppflags= for cf_add_cflags in -g do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -5515,7 +5627,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -5545,7 +5657,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -5581,24 +5693,24 @@ fi esac if test "$with_dbmalloc" = yes ; then - echo "$as_me:5584: checking for dbmalloc.h" >&5 + echo "$as_me:5696: checking for dbmalloc.h" >&5 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6 if test "${ac_cv_header_dbmalloc_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 5590 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 5702 "configure" #include "confdefs.h" #include <dbmalloc.h> _ACEOF -if { (eval echo "$as_me:5594: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:5706: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:5600: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:5712: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -5611,24 +5723,24 @@ if test -z "$ac_cpp_err"; then ac_cv_header_dbmalloc_h=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 ac_cv_header_dbmalloc_h=no fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:5619: result: $ac_cv_header_dbmalloc_h" >&5 +echo "$as_me:5731: result: $ac_cv_header_dbmalloc_h" >&5 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6 -if test $ac_cv_header_dbmalloc_h = yes; then +if test "$ac_cv_header_dbmalloc_h" = yes; then -echo "$as_me:5623: checking for debug_malloc in -ldbmalloc" >&5 +echo "$as_me:5735: checking for debug_malloc in -ldbmalloc" >&5 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldbmalloc $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 5631 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 5743 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5646,30 +5758,30 @@ debug_malloc (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5650: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:5762: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5653: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5656: \"$ac_try\"") >&5 + echo "$as_me:5765: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:5768: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5659: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:5771: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_dbmalloc_debug_malloc=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_dbmalloc_debug_malloc=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5670: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 +echo "$as_me:5782: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6 -if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then +if test "$ac_cv_lib_dbmalloc_debug_malloc" = yes; then cat >>confdefs.h <<EOF #define HAVE_LIBDBMALLOC 1 EOF @@ -5682,7 +5794,7 @@ fi fi -echo "$as_me:5685: checking if you want to use dmalloc for testing" >&5 +echo "$as_me:5797: checking if you want to use dmalloc for testing" >&5 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6 # Check whether --with-dmalloc or --without-dmalloc was given. @@ -5693,16 +5805,16 @@ cat >>confdefs.h <<EOF #define USE_DMALLOC 1 EOF - : ${with_cflags:=-g} - : ${with_no_leaks:=yes} + : "${with_cflags:=-g}" + : "${with_no_leaks:=yes}" with_dmalloc=yes else with_dmalloc= fi; -echo "$as_me:5702: result: ${with_dmalloc:-no}" >&5 +echo "$as_me:5814: result: ${with_dmalloc:-no}" >&5 echo "${ECHO_T}${with_dmalloc:-no}" >&6 -case .$with_cflags in +case ".$with_cflags" in (.*-g*) case .$CFLAGS in (.*-g*) @@ -5716,19 +5828,19 @@ cf_new_extra_cppflags= for cf_add_cflags in -g do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -5747,7 +5859,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -5777,7 +5889,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -5813,24 +5925,24 @@ fi esac if test "$with_dmalloc" = yes ; then - echo "$as_me:5816: checking for dmalloc.h" >&5 + echo "$as_me:5928: checking for dmalloc.h" >&5 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6 if test "${ac_cv_header_dmalloc_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 5822 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 5934 "configure" #include "confdefs.h" #include <dmalloc.h> _ACEOF -if { (eval echo "$as_me:5826: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:5938: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:5832: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:5944: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -5843,24 +5955,24 @@ if test -z "$ac_cpp_err"; then ac_cv_header_dmalloc_h=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 ac_cv_header_dmalloc_h=no fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:5851: result: $ac_cv_header_dmalloc_h" >&5 +echo "$as_me:5963: result: $ac_cv_header_dmalloc_h" >&5 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6 -if test $ac_cv_header_dmalloc_h = yes; then +if test "$ac_cv_header_dmalloc_h" = yes; then -echo "$as_me:5855: checking for dmalloc_debug in -ldmalloc" >&5 +echo "$as_me:5967: checking for dmalloc_debug in -ldmalloc" >&5 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldmalloc $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 5863 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 5975 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5878,30 +5990,30 @@ dmalloc_debug (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5882: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:5994: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5885: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5888: \"$ac_try\"") >&5 + echo "$as_me:5997: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:6000: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5891: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:6003: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_dmalloc_dmalloc_debug=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_dmalloc_dmalloc_debug=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5902: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 +echo "$as_me:6014: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6 -if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then +if test "$ac_cv_lib_dmalloc_dmalloc_debug" = yes; then cat >>confdefs.h <<EOF #define HAVE_LIBDMALLOC 1 EOF @@ -5919,7 +6031,7 @@ cat >>confdefs.h <<\EOF EOF TRY_CFLAGS= -case $host_os in +case "$host_os" in (aix4*) TRY_CFLAGS="$TRY_CFLAGS -DAIX4 -D_BSD=44 -D_AIX" LIBS="$LIBS -lbsd" @@ -5939,15 +6051,15 @@ case $host_os in # contributed by Alex Matulich (matuli_a@marlin.navsea.navy.mil) also # references -lmalloc and -lbsd. -echo "$as_me:5942: checking for strcmp in -lc_s" >&5 +echo "$as_me:6054: checking for strcmp in -lc_s" >&5 echo $ECHO_N "checking for strcmp in -lc_s... $ECHO_C" >&6 if test "${ac_cv_lib_c_s_strcmp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_s $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 5950 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 6062 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -5965,30 +6077,30 @@ strcmp (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:5969: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:6081: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:5972: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:5975: \"$ac_try\"") >&5 + echo "$as_me:6084: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:6087: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5978: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:6090: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_c_s_strcmp=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_c_s_strcmp=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:5989: result: $ac_cv_lib_c_s_strcmp" >&5 +echo "$as_me:6101: result: $ac_cv_lib_c_s_strcmp" >&5 echo "${ECHO_T}$ac_cv_lib_c_s_strcmp" >&6 -if test $ac_cv_lib_c_s_strcmp = yes; then +if test "$ac_cv_lib_c_s_strcmp" = yes; then cat >>confdefs.h <<EOF #define HAVE_LIBC_S 1 EOF @@ -6047,19 +6159,19 @@ for cf_add_cflags in \ -D__WIN32__ \ do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -6078,7 +6190,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -6108,7 +6220,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -6158,7 +6270,7 @@ fi TRY_CFLAGS="$TRY_CFLAGS -DDSYS5 -DSYS_TRU64" ;; (sco3.2v5*) - test $ac_cv_c_compiler_gnu != yes && TRY_CFLAGS="$TRY_CFLAGS -belf" + test "$ac_cv_c_compiler_gnu" != yes && TRY_CFLAGS="$TRY_CFLAGS -belf" ;; (sco*) LIBS="$LIBS -lmalloc" @@ -6166,14 +6278,14 @@ fi # SCO's cc (which is reported to have broken const/volatile). case "$CC" in (cc|*/cc) - { echo "$as_me:6169: WARNING: You should consider using gcc or rcc if available" >&5 + { echo "$as_me:6281: WARNING: You should consider using gcc or rcc if available" >&5 echo "$as_me: WARNING: You should consider using gcc or rcc if available" >&2;} unset ac_cv_prog_CC for ac_prog in gcc rcc do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:6176: checking for $ac_word" >&5 +echo "$as_me:6288: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6188,7 +6300,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_CC="$ac_prog" -echo "$as_me:6191: found $ac_dir/$ac_word" >&5 +echo "$as_me:6303: found $ac_dir/$ac_word" >&5 break done @@ -6196,10 +6308,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$as_me:6199: result: $CC" >&5 + echo "$as_me:6311: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else - echo "$as_me:6202: result: no" >&5 + echo "$as_me:6314: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -6222,24 +6334,24 @@ test -n "$CC" || CC="$CC" for ac_header in jcurses.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:6225: checking for $ac_header" >&5 +echo "$as_me:6337: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 6231 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 6343 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:6235: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:6347: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:6241: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:6353: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -6252,14 +6364,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:6260: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:6372: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -6285,24 +6397,24 @@ done for ac_header in cursesX.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:6288: checking for $ac_header" >&5 +echo "$as_me:6400: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 6294 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 6406 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:6298: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:6410: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:6304: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:6416: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -6315,14 +6427,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:6323: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:6435: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -6338,22 +6450,22 @@ done ;; esac -case $host_os in +case "$host_os" in (mingw*) EXTRA_OBJS="$EXTRA_OBJS LYIcon\$o" ;; esac # This should have been defined by AC_PROG_CC -: ${CC:=cc} +: "${CC:=cc}" -echo "$as_me:6350: checking \$CFLAGS variable" >&5 +echo "$as_me:6462: checking \$CFLAGS variable" >&5 echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6 case "x$CFLAGS" in (*-[IUD]*) - echo "$as_me:6354: result: broken" >&5 + echo "$as_me:6466: result: broken" >&5 echo "${ECHO_T}broken" >&6 - { echo "$as_me:6356: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5 + { echo "$as_me:6468: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5 echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&2;} cf_flags="$CFLAGS" CFLAGS= @@ -6367,19 +6479,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_arg do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -6398,7 +6510,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -6428,7 +6540,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -6461,18 +6573,18 @@ fi done ;; (*) - echo "$as_me:6464: result: ok" >&5 + echo "$as_me:6576: result: ok" >&5 echo "${ECHO_T}ok" >&6 ;; esac -echo "$as_me:6469: checking \$CC variable" >&5 +echo "$as_me:6581: checking \$CC variable" >&5 echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6 case "$CC" in (*[\ \ ]-*) - echo "$as_me:6473: result: broken" >&5 + echo "$as_me:6585: result: broken" >&5 echo "${ECHO_T}broken" >&6 - { echo "$as_me:6475: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 + { echo "$as_me:6587: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'` @@ -6490,19 +6602,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_arg do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -6521,7 +6633,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -6551,7 +6663,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -6589,24 +6701,24 @@ fi done test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6 -echo "${as_me:-configure}:6592: testing resulting CC: '$CC' ..." 1>&5 +echo "${as_me:-configure}:6704: testing resulting CC: '$CC' ..." 1>&5 test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6 -echo "${as_me:-configure}:6596: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 +echo "${as_me:-configure}:6708: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6 -echo "${as_me:-configure}:6600: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5 +echo "${as_me:-configure}:6712: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5 ;; (*) - echo "$as_me:6604: result: ok" >&5 + echo "$as_me:6716: result: ok" >&5 echo "${ECHO_T}ok" >&6 ;; esac -echo "$as_me:6609: checking for ${CC:-cc} option to accept ANSI C" >&5 +echo "$as_me:6721: checking for ${CC:-cc} option to accept ANSI C" >&5 echo $ECHO_N "checking for ${CC:-cc} option to accept ANSI C... $ECHO_C" >&6 if test "${cf_cv_ansi_cc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6638,19 +6750,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_arg do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -6669,7 +6781,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -6699,7 +6811,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -6729,8 +6841,8 @@ if test -n "$cf_new_extra_cppflags" ; then fi - cat >conftest.$ac_ext <<_ACEOF -#line 6733 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 6845 "configure" #include "confdefs.h" #ifndef CC_HAS_PROTOS @@ -6750,30 +6862,30 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:6754: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:6866: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6757: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6760: \"$ac_try\"") >&5 + echo "$as_me:6869: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:6872: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6763: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:6875: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ansi_cc="$cf_arg"; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done CFLAGS="$cf_save_CFLAGS" CPPFLAGS="$cf_save_CPPFLAGS" fi -echo "$as_me:6776: result: $cf_cv_ansi_cc" >&5 +echo "$as_me:6888: result: $cf_cv_ansi_cc" >&5 echo "${ECHO_T}$cf_cv_ansi_cc" >&6 if test "$cf_cv_ansi_cc" != "no"; then @@ -6786,19 +6898,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_cv_ansi_cc do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -6817,7 +6929,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -6847,7 +6959,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -6887,7 +6999,7 @@ fi fi if test "$cf_cv_ansi_cc" = "no"; then - { { echo "$as_me:6890: error: Your compiler does not appear to recognize prototypes. + { { echo "$as_me:7002: error: Your compiler does not appear to recognize prototypes. You have the following choices: a. adjust your compiler options b. get an up-to-date compiler @@ -6907,7 +7019,7 @@ if test "${enable_largefile+set}" = set; then fi; if test "$enable_largefile" != no; then - echo "$as_me:6910: checking for special C compiler options needed for large files" >&5 + echo "$as_me:7022: checking for special C compiler options needed for large files" >&5 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -6918,8 +7030,8 @@ else while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. - cat >conftest.$ac_ext <<_ACEOF -#line 6922 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7034 "configure" #include "confdefs.h" #include <sys/types.h> /* Check that off_t can represent 2**63 - 1 correctly. @@ -6938,64 +7050,64 @@ main (void) return 0; } _ACEOF - rm -f conftest.$ac_objext -if { (eval echo "$as_me:6942: \"$ac_compile\"") >&5 + rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7054: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6945: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6948: \"$ac_try\"") >&5 + echo "$as_me:7057: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7060: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6951: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7063: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext +rm -f "conftest.$ac_objext" CC="$CC -n32" - rm -f conftest.$ac_objext -if { (eval echo "$as_me:6961: \"$ac_compile\"") >&5 + rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7073: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6964: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6967: \"$ac_try\"") >&5 + echo "$as_me:7076: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7079: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6970: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7082: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sys_largefile_CC=' -n32'; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext +rm -f "conftest.$ac_objext" break done CC=$ac_save_CC - rm -f conftest.$ac_ext + rm -f "conftest.$ac_ext" fi fi -echo "$as_me:6984: result: $ac_cv_sys_largefile_CC" >&5 +echo "$as_me:7096: result: $ac_cv_sys_largefile_CC" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi - echo "$as_me:6990: checking for _FILE_OFFSET_BITS value needed for large files" >&5 + echo "$as_me:7102: checking for _FILE_OFFSET_BITS value needed for large files" >&5 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_file_offset_bits+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_file_offset_bits=no - cat >conftest.$ac_ext <<_ACEOF -#line 6998 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7110 "configure" #include "confdefs.h" #include <sys/types.h> /* Check that off_t can represent 2**63 - 1 correctly. @@ -7014,26 +7126,26 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7018: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7130: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7021: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7024: \"$ac_try\"") >&5 + echo "$as_me:7133: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7136: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7027: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7139: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext - cat >conftest.$ac_ext <<_ACEOF -#line 7036 "configure" +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7148 "configure" #include "confdefs.h" #define _FILE_OFFSET_BITS 64 #include <sys/types.h> @@ -7053,28 +7165,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7057: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7169: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7060: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7063: \"$ac_try\"") >&5 + echo "$as_me:7172: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7175: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7066: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7178: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sys_file_offset_bits=64; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" break done fi -echo "$as_me:7077: result: $ac_cv_sys_file_offset_bits" >&5 +echo "$as_me:7189: result: $ac_cv_sys_file_offset_bits" >&5 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 if test "$ac_cv_sys_file_offset_bits" != no; then @@ -7084,15 +7196,15 @@ EOF fi rm -rf conftest* - echo "$as_me:7087: checking for _LARGE_FILES value needed for large files" >&5 + echo "$as_me:7199: checking for _LARGE_FILES value needed for large files" >&5 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_large_files+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_large_files=no - cat >conftest.$ac_ext <<_ACEOF -#line 7095 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7207 "configure" #include "confdefs.h" #include <sys/types.h> /* Check that off_t can represent 2**63 - 1 correctly. @@ -7111,26 +7223,26 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7115: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7227: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7118: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7121: \"$ac_try\"") >&5 + echo "$as_me:7230: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7233: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7124: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7236: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext - cat >conftest.$ac_ext <<_ACEOF -#line 7133 "configure" +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7245 "configure" #include "confdefs.h" #define _LARGE_FILES 1 #include <sys/types.h> @@ -7150,28 +7262,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7154: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7266: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7157: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7160: \"$ac_try\"") >&5 + echo "$as_me:7269: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7272: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7163: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7275: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sys_large_files=1; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" break done fi -echo "$as_me:7174: result: $ac_cv_sys_large_files" >&5 +echo "$as_me:7286: result: $ac_cv_sys_large_files" >&5 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 if test "$ac_cv_sys_large_files" != no; then @@ -7184,15 +7296,15 @@ rm -rf conftest* fi if test "$enable_largefile" != no ; then - echo "$as_me:7187: checking for _LARGEFILE_SOURCE value needed for large files" >&5 + echo "$as_me:7299: checking for _LARGEFILE_SOURCE value needed for large files" >&5 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 if test "${ac_cv_sys_largefile_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else while :; do ac_cv_sys_largefile_source=no - cat >conftest.$ac_ext <<_ACEOF -#line 7195 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7307 "configure" #include "confdefs.h" #include <stdio.h> int @@ -7203,26 +7315,26 @@ return !fseeko; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7207: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7319: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7210: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7213: \"$ac_try\"") >&5 + echo "$as_me:7322: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7325: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7216: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7328: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext - cat >conftest.$ac_ext <<_ACEOF -#line 7225 "configure" +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7337 "configure" #include "confdefs.h" #define _LARGEFILE_SOURCE 1 #include <stdio.h> @@ -7234,28 +7346,28 @@ return !fseeko; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7238: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7350: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7241: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7244: \"$ac_try\"") >&5 + echo "$as_me:7353: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7356: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7247: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7359: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sys_largefile_source=1; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" break done fi -echo "$as_me:7258: result: $ac_cv_sys_largefile_source" >&5 +echo "$as_me:7370: result: $ac_cv_sys_largefile_source" >&5 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 if test "$ac_cv_sys_largefile_source" != no; then @@ -7269,13 +7381,13 @@ rm -rf conftest* # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug # in glibc 2.1.3, but that breaks too many other things. # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. -echo "$as_me:7272: checking for fseeko" >&5 +echo "$as_me:7384: checking for fseeko" >&5 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 if test "${ac_cv_func_fseeko+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 7278 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7390 "configure" #include "confdefs.h" #include <stdio.h> int @@ -7286,27 +7398,27 @@ return fseeko && fseeko (stdin, 0, 0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7290: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:7402: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7293: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7296: \"$ac_try\"") >&5 + echo "$as_me:7405: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:7408: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7299: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7411: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_fseeko=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_fseeko=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:7309: result: $ac_cv_func_fseeko" >&5 +echo "$as_me:7421: result: $ac_cv_func_fseeko" >&5 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 if test $ac_cv_func_fseeko = yes; then @@ -7345,14 +7457,14 @@ fi fi - echo "$as_me:7348: checking whether to use struct dirent64" >&5 + echo "$as_me:7460: checking whether to use struct dirent64" >&5 echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6 if test "${cf_cv_struct_dirent64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 7355 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7467 "configure" #include "confdefs.h" #pragma GCC diagnostic error "-Wincompatible-pointer-types" @@ -7374,28 +7486,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7378: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7490: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7381: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7384: \"$ac_try\"") >&5 + echo "$as_me:7493: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7496: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7387: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7499: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_struct_dirent64=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_struct_dirent64=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:7398: result: $cf_cv_struct_dirent64" >&5 +echo "$as_me:7510: result: $cf_cv_struct_dirent64" >&5 echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 test "$cf_cv_struct_dirent64" = yes && cat >>confdefs.h <<\EOF @@ -7405,22 +7517,22 @@ EOF fi if test -z "$ALL_LINGUAS" ; then - ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po && echo *.po|sed -e 's/\.po//g' -e 's/*//'` + ALL_LINGUAS=`test -d "$srcdir/po" && cd "$srcdir/po" && echo *.po|sed -e 's/\.po//g' -e 's/*//'` - echo "$as_me:7410: checking for PATH separator" >&5 + echo "$as_me:7522: checking for PATH separator" >&5 echo $ECHO_N "checking for PATH separator... $ECHO_C" >&6 - case $cf_cv_system_name in + case "$cf_cv_system_name" in (os2*) PATH_SEPARATOR=';' ;; (*) ${PATH_SEPARATOR:=':'} ;; esac - echo "$as_me:7417: result: $PATH_SEPARATOR" >&5 + echo "$as_me:7529: result: $PATH_SEPARATOR" >&5 echo "${ECHO_T}$PATH_SEPARATOR" >&6 # Extract the first word of "msginit", so it can be a program name with args. set dummy msginit; ac_word=$2 -echo "$as_me:7423: checking for $ac_word" >&5 +echo "$as_me:7535: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGINIT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7433,7 +7545,7 @@ else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word$ac_exeext; then + if test -f "$ac_dir/$ac_word$ac_exeext" ; then if $ac_dir/$ac_word --no-translator --version /dev/null >/dev/null 2>&1; then ac_cv_path_MSGINIT="$ac_dir/$ac_word$ac_exeext" break @@ -7447,17 +7559,17 @@ esac fi MSGINIT="$ac_cv_path_MSGINIT" if test "$MSGINIT" != ":"; then - echo "$as_me:7450: result: $MSGINIT" >&5 + echo "$as_me:7562: result: $MSGINIT" >&5 echo "${ECHO_T}$MSGINIT" >&6 else - echo "$as_me:7453: result: no" >&5 + echo "$as_me:7565: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$MSGINIT" != ":" ; then test -n "$verbose" && echo " adding en.po" 1>&6 -echo "${as_me:-configure}:7460: testing adding en.po ..." 1>&5 +echo "${as_me:-configure}:7572: testing adding en.po ..." 1>&5 ALL_LINGUAS="$ALL_LINGUAS en" fi @@ -7466,7 +7578,7 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -echo "$as_me:7469: checking for $ac_word" >&5 +echo "$as_me:7581: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7481,7 +7593,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -echo "$as_me:7484: found $ac_dir/$ac_word" >&5 +echo "$as_me:7596: found $ac_dir/$ac_word" >&5 break done @@ -7489,10 +7601,10 @@ fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - echo "$as_me:7492: result: $RANLIB" >&5 + echo "$as_me:7604: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else - echo "$as_me:7495: result: no" >&5 + echo "$as_me:7607: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -7501,7 +7613,7 @@ if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -echo "$as_me:7504: checking for $ac_word" >&5 +echo "$as_me:7616: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7516,7 +7628,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_RANLIB="ranlib" -echo "$as_me:7519: found $ac_dir/$ac_word" >&5 +echo "$as_me:7631: found $ac_dir/$ac_word" >&5 break done @@ -7525,10 +7637,10 @@ fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - echo "$as_me:7528: result: $ac_ct_RANLIB" >&5 + echo "$as_me:7640: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else - echo "$as_me:7531: result: no" >&5 + echo "$as_me:7643: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -7537,13 +7649,13 @@ else RANLIB="$ac_cv_prog_RANLIB" fi -echo "$as_me:7540: checking for ANSI C header files" >&5 +echo "$as_me:7652: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 7546 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7658 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -7551,14 +7663,14 @@ else #include <float.h> _ACEOF -if { (eval echo "$as_me:7554: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:7666: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:7560: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:7672: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -7571,21 +7683,21 @@ if test -z "$ac_cpp_err"; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 ac_cv_header_stdc=no fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line 7582 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7694 "configure" #include "confdefs.h" #include <string.h> _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then + $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no @@ -7596,14 +7708,14 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line 7600 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7712 "configure" #include "confdefs.h" #include <stdlib.h> _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then + $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no @@ -7617,8 +7729,8 @@ if test $ac_cv_header_stdc = yes; then if test "$cross_compiling" = yes; then : else - cat >conftest.$ac_ext <<_ACEOF -#line 7621 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7733 "configure" #include "confdefs.h" #include <ctype.h> #if ((' ' & 0x0FF) == 0x020) @@ -7643,29 +7755,29 @@ main (void) $ac_main_return (0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:7647: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:7759: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7650: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:7652: \"$ac_try\"") >&5 + echo "$as_me:7762: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:7764: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7655: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7767: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_header_stdc=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi fi -echo "$as_me:7668: result: $ac_cv_header_stdc" >&5 +echo "$as_me:7780: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -7675,15 +7787,15 @@ EOF fi -echo "$as_me:7678: checking for inline" >&5 +echo "$as_me:7790: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6 if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do - cat >conftest.$ac_ext <<_ACEOF -#line 7686 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7798 "configure" #include "confdefs.h" #ifndef __cplusplus static $ac_kw int static_foo () {return 0; } @@ -7691,28 +7803,28 @@ $ac_kw int foo () {return 0; } #endif _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7695: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7807: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7698: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7701: \"$ac_try\"") >&5 + echo "$as_me:7810: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7813: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7704: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7816: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_c_inline=$ac_kw; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:7715: result: $ac_cv_c_inline" >&5 +echo "$as_me:7827: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in inline | yes) ;; @@ -7733,40 +7845,40 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:7736: checking for $ac_header" >&5 +echo "$as_me:7848: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 7742 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7854 "configure" #include "confdefs.h" $ac_includes_default #include <$ac_header> _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7748: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7860: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7751: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7754: \"$ac_try\"") >&5 + echo "$as_me:7863: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7866: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7757: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7869: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:7767: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:7879: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -7774,13 +7886,13 @@ EOF fi done -echo "$as_me:7777: checking for off_t" >&5 +echo "$as_me:7889: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 if test "${ac_cv_type_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 7783 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7895 "configure" #include "confdefs.h" $ac_includes_default int @@ -7794,29 +7906,29 @@ if (sizeof (off_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7798: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7910: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7801: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7804: \"$ac_try\"") >&5 + echo "$as_me:7913: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7916: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7807: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7919: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_off_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_off_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:7817: result: $ac_cv_type_off_t" >&5 +echo "$as_me:7929: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6 -if test $ac_cv_type_off_t = yes; then +if test "$ac_cv_type_off_t" = yes; then : else @@ -7826,13 +7938,13 @@ EOF fi -echo "$as_me:7829: checking for size_t" >&5 +echo "$as_me:7941: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 7835 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 7947 "configure" #include "confdefs.h" $ac_includes_default int @@ -7846,29 +7958,29 @@ if (sizeof (size_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:7850: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:7962: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7853: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7856: \"$ac_try\"") >&5 + echo "$as_me:7965: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:7968: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7859: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:7971: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_size_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_size_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:7869: result: $ac_cv_type_size_t" >&5 +echo "$as_me:7981: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 -if test $ac_cv_type_size_t = yes; then +if test "$ac_cv_type_size_t" = yes; then : else @@ -7880,13 +7992,13 @@ fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! -echo "$as_me:7883: checking for working alloca.h" >&5 +echo "$as_me:7995: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 7889 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8001 "configure" #include "confdefs.h" #include <alloca.h> int @@ -7897,27 +8009,27 @@ char *p = (char *) alloca (2 * sizeof (int)); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7901: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:8013: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7904: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7907: \"$ac_try\"") >&5 + echo "$as_me:8016: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:8019: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7910: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8022: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_working_alloca_h=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:7920: result: $ac_cv_working_alloca_h" >&5 +echo "$as_me:8032: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 if test $ac_cv_working_alloca_h = yes; then @@ -7927,13 +8039,13 @@ EOF fi -echo "$as_me:7930: checking for alloca" >&5 +echo "$as_me:8042: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 7936 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8048 "configure" #include "confdefs.h" #ifdef __GNUC__ # define alloca __builtin_alloca @@ -7964,27 +8076,27 @@ char *p = (char *) alloca (1); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7968: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:8080: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7971: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7974: \"$ac_try\"") >&5 + echo "$as_me:8083: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:8086: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7977: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8089: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_alloca_works=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:7987: result: $ac_cv_func_alloca_works" >&5 +echo "$as_me:8099: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 if test $ac_cv_func_alloca_works = yes; then @@ -7999,19 +8111,19 @@ else # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. -ALLOCA=alloca.$ac_objext +ALLOCA="alloca.$ac_objext" cat >>confdefs.h <<\EOF #define C_ALLOCA 1 EOF -echo "$as_me:8008: checking whether \`alloca.c' needs Cray hooks" >&5 +echo "$as_me:8120: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8014 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8126 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray @@ -8021,7 +8133,7 @@ wenotbecray _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "webecray" >/dev/null 2>&1; then + $EGREP "webecray" >/dev/null 2>&1; then ac_cv_os_cray=yes else ac_cv_os_cray=no @@ -8029,18 +8141,18 @@ fi rm -rf conftest* fi -echo "$as_me:8032: result: $ac_cv_os_cray" >&5 +echo "$as_me:8144: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:8037: checking for $ac_func" >&5 +echo "$as_me:8149: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8043 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8155 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -8070,29 +8182,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8074: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:8186: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8077: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8080: \"$ac_try\"") >&5 + echo "$as_me:8189: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:8192: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8083: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8195: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:8093: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:8205: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define CRAY_STACKSEG_END $ac_func @@ -8104,7 +8216,7 @@ fi done fi -echo "$as_me:8107: checking stack direction for C alloca" >&5 +echo "$as_me:8219: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -8112,8 +8224,8 @@ else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else - cat >conftest.$ac_ext <<_ACEOF -#line 8116 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8228 "configure" #include "confdefs.h" int find_stack_direction (void) @@ -8135,28 +8247,28 @@ main (void) $ac_main_return (find_stack_direction () < 0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:8139: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:8251: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8142: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:8144: \"$ac_try\"") >&5 + echo "$as_me:8254: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:8256: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8147: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8259: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_c_stack_direction=1 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_c_stack_direction=-1 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:8159: result: $ac_cv_c_stack_direction" >&5 +echo "$as_me:8271: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 cat >>confdefs.h <<EOF @@ -8168,24 +8280,24 @@ fi for ac_header in stdlib.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:8171: checking for $ac_header" >&5 +echo "$as_me:8283: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8177 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8289 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:8181: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:8293: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:8187: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:8299: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -8198,14 +8310,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:8206: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:8318: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -8216,13 +8328,13 @@ done for ac_func in getpagesize do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:8219: checking for $ac_func" >&5 +echo "$as_me:8331: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8225 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8337 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -8252,29 +8364,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8256: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:8368: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8259: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8262: \"$ac_try\"") >&5 + echo "$as_me:8371: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:8374: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8265: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8377: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:8275: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:8387: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -8282,7 +8394,7 @@ EOF fi done -echo "$as_me:8285: checking for working mmap" >&5 +echo "$as_me:8397: checking for working mmap" >&5 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -8290,8 +8402,8 @@ else if test "$cross_compiling" = yes; then ac_cv_func_mmap_fixed_mapped=no else - cat >conftest.$ac_ext <<_ACEOF -#line 8294 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8406 "configure" #include "confdefs.h" $ac_includes_default /* Thanks to Mike Haertel and Jim Avera for this test. @@ -8417,28 +8529,28 @@ main (void) $ac_main_return (0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:8421: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:8533: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8424: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:8426: \"$ac_try\"") >&5 + echo "$as_me:8536: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:8538: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8429: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8541: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_mmap_fixed_mapped=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_mmap_fixed_mapped=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:8441: result: $ac_cv_func_mmap_fixed_mapped" >&5 +echo "$as_me:8553: result: $ac_cv_func_mmap_fixed_mapped" >&5 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then @@ -8449,13 +8561,13 @@ EOF fi rm -f conftest.mmap -echo "$as_me:8452: checking whether we are using the GNU C Library 2.1 or newer" >&5 +echo "$as_me:8564: checking whether we are using the GNU C Library 2.1 or newer" >&5 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6 if test "${ac_cv_gnu_library_2_1+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8458 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8570 "configure" #include "confdefs.h" #include <features.h> @@ -8467,7 +8579,7 @@ else _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "Lucky GNU user" >/dev/null 2>&1; then + $EGREP "Lucky GNU user" >/dev/null 2>&1; then ac_cv_gnu_library_2_1=yes else ac_cv_gnu_library_2_1=no @@ -8475,27 +8587,27 @@ fi rm -rf conftest* fi -echo "$as_me:8478: result: $ac_cv_gnu_library_2_1" >&5 +echo "$as_me:8590: result: $ac_cv_gnu_library_2_1" >&5 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6 GLIBC21="$ac_cv_gnu_library_2_1" cf_makefile=makefile -test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po && echo *.po|sed -e 's/\.po//g' -e 's/*//'` +test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d "$srcdir/po" && cd "$srcdir/po" && echo *.po|sed -e 's/\.po//g' -e 's/*//'` # Allow override of "config.h" definition: : ${CONFIG_H:=config.h} if test -z "$PACKAGE" ; then - { { echo "$as_me:8491: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&5 + { { echo "$as_me:8603: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&5 echo "$as_me: error: CF_BUNDLED_INTL used without setting PACKAGE variable" >&2;} { (exit 1); exit 1; }; } fi if test -z "$VERSION" ; then -if test -f $srcdir/VERSION ; then - VERSION=`sed -e '2,$d' $srcdir/VERSION|cut -f1` +if test -f "$srcdir/VERSION" ; then + VERSION=`sed -e '2,$d' "$srcdir/VERSION" |cut -f1` else VERSION=unknown fi @@ -8505,24 +8617,24 @@ for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ stdlib.h string.h unistd.h sys/param.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:8508: checking for $ac_header" >&5 +echo "$as_me:8620: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8514 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8626 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:8518: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:8630: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:8524: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:8636: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -8535,14 +8647,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:8543: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:8655: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -8555,13 +8667,13 @@ getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \ strdup strtoul tsearch __argz_count __argz_stringify __argz_next do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:8558: checking for $ac_func" >&5 +echo "$as_me:8670: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 8564 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8676 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -8591,29 +8703,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8595: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:8707: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8598: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8601: \"$ac_try\"") >&5 + echo "$as_me:8710: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:8713: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8604: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8716: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:8614: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:8726: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -8633,14 +8745,14 @@ case "$withval" in (*) for cf_searchpath in `echo "$withval" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -8661,8 +8773,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 8665 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8777 "configure" #include "confdefs.h" #include <stdio.h> int @@ -8673,25 +8785,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:8677: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:8789: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:8680: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8683: \"$ac_try\"") >&5 + echo "$as_me:8792: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:8795: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8686: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8798: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -8700,11 +8812,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:8703: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:8815: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -8717,14 +8829,14 @@ echo "${as_me:-configure}:8703: testing adding $cf_add_incdir to include-path .. done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -8745,8 +8857,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 8749 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 8861 "configure" #include "confdefs.h" #include <stdio.h> int @@ -8757,25 +8869,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:8761: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:8873: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:8764: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:8767: \"$ac_try\"") >&5 + echo "$as_me:8876: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:8879: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8770: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:8882: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -8784,11 +8896,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:8787: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:8899: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -8802,18 +8914,18 @@ echo "${as_me:-configure}:8787: testing adding $cf_add_incdir to include-path .. fi else -{ { echo "$as_me:8805: error: cannot find libiconv under $withval" >&5 +{ { echo "$as_me:8917: error: cannot find libiconv under $withval" >&5 echo "$as_me: error: cannot find libiconv under $withval" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -8827,7 +8939,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:8830: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:8942: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -8835,14 +8947,14 @@ echo "${as_me:-configure}:8830: testing adding $cf_add_libdir to library-path .. done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -8856,7 +8968,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:8859: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:8971: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -8865,7 +8977,7 @@ echo "${as_me:-configure}:8859: testing adding $cf_add_libdir to library-path .. fi else -{ { echo "$as_me:8868: error: cannot find libiconv under $withval" >&5 +{ { echo "$as_me:8980: error: cannot find libiconv under $withval" >&5 echo "$as_me: error: cannot find libiconv under $withval" >&2;} { (exit 1); exit 1; }; } fi @@ -8876,7 +8988,7 @@ esac fi; - echo "$as_me:8879: checking for iconv" >&5 + echo "$as_me:8991: checking for iconv" >&5 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 if test "${am_cv_func_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -8887,12 +8999,12 @@ else cf_cv_header_path_iconv= cf_cv_library_path_iconv= -echo "${as_me:-configure}:8890: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5 +echo "${as_me:-configure}:9002: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 8895 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 9007 "configure" #include "confdefs.h" #include <stdlib.h> @@ -8910,18 +9022,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8914: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:9026: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8917: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8920: \"$ac_try\"") >&5 + echo "$as_me:9029: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:9032: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8923: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:9035: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_iconv=yes cf_cv_header_path_iconv=/usr/include @@ -8929,12 +9041,12 @@ if { (eval echo "$as_me:8914: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-liconv $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 8937 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 9049 "configure" #include "confdefs.h" #include <stdlib.h> @@ -8952,18 +9064,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:8956: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:9068: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:8959: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:8962: \"$ac_try\"") >&5 + echo "$as_me:9071: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:9074: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:8965: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:9077: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_iconv=yes cf_cv_header_path_iconv=/usr/include @@ -8972,16 +9084,16 @@ if { (eval echo "$as_me:8956: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_iconv=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for iconv library" 1>&6 -echo "${as_me:-configure}:8982: testing find linkage for iconv library ..." 1>&5 +echo "${as_me:-configure}:9094: testing find linkage for iconv library ..." 1>&5 -echo "${as_me:-configure}:8984: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5 +echo "${as_me:-configure}:9096: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -8993,7 +9105,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -9001,11 +9113,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/iconv && cf_search="$cf_search $cf_header_path/include/iconv" - test -d $cf_header_path/include/iconv/include && cf_search="$cf_search $cf_header_path/include/iconv/include" - test -d $cf_header_path/iconv/include && cf_search="$cf_search $cf_header_path/iconv/include" - test -d $cf_header_path/iconv/include/iconv && cf_search="$cf_search $cf_header_path/iconv/include/iconv" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/iconv" && cf_search="$cf_search $cf_header_path/include/iconv" + test -d "$cf_header_path/include/iconv/include" && cf_search="$cf_search $cf_header_path/include/iconv/include" + test -d "$cf_header_path/iconv/include" && cf_search="$cf_search $cf_header_path/iconv/include" + test -d "$cf_header_path/iconv/include/iconv" && cf_search="$cf_search $cf_header_path/iconv/include/iconv" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -9022,11 +9134,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/iconv && cf_search="$cf_search $prefix/include/iconv" - test -d $prefix/include/iconv/include && cf_search="$cf_search $prefix/include/iconv/include" - test -d $prefix/iconv/include && cf_search="$cf_search $prefix/iconv/include" - test -d $prefix/iconv/include/iconv && cf_search="$cf_search $prefix/iconv/include/iconv" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/iconv" && cf_search="$cf_search $prefix/include/iconv" + test -d "$prefix/include/iconv/include" && cf_search="$cf_search $prefix/include/iconv/include" + test -d "$prefix/iconv/include" && cf_search="$cf_search $prefix/iconv/include" + test -d "$prefix/iconv/include/iconv" && cf_search="$cf_search $prefix/iconv/include/iconv" } for cf_subdir_prefix in \ @@ -9040,13 +9152,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/iconv && cf_search="$cf_search $cf_subdir_prefix/include/iconv" - test -d $cf_subdir_prefix/include/iconv/include && cf_search="$cf_search $cf_subdir_prefix/include/iconv/include" - test -d $cf_subdir_prefix/iconv/include && cf_search="$cf_search $cf_subdir_prefix/iconv/include" - test -d $cf_subdir_prefix/iconv/include/iconv && cf_search="$cf_search $cf_subdir_prefix/iconv/include/iconv" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/iconv" && cf_search="$cf_search $cf_subdir_prefix/include/iconv" + test -d "$cf_subdir_prefix/include/iconv/include" && cf_search="$cf_search $cf_subdir_prefix/include/iconv/include" + test -d "$cf_subdir_prefix/iconv/include" && cf_search="$cf_search $cf_subdir_prefix/iconv/include" + test -d "$cf_subdir_prefix/iconv/include/iconv" && cf_search="$cf_search $cf_subdir_prefix/iconv/include/iconv" } done @@ -9054,33 +9166,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/iconv && cf_search="$cf_search $includedir/iconv" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/iconv" && cf_search="$cf_search $includedir/iconv" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/iconv && cf_search="$cf_search $oldincludedir/iconv" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/iconv" && cf_search="$cf_search $oldincludedir/iconv" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_iconv in $cf_search do - if test -d $cf_cv_header_path_iconv ; then + if test -d "$cf_cv_header_path_iconv" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_iconv" 1>&6 -echo "${as_me:-configure}:9075: testing ... testing $cf_cv_header_path_iconv ..." 1>&5 +echo "${as_me:-configure}:9187: testing ... testing $cf_cv_header_path_iconv ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_iconv" - cat >conftest.$ac_ext <<_ACEOF -#line 9083 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 9195 "configure" #include "confdefs.h" #include <stdlib.h> @@ -9098,40 +9210,40 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:9102: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:9214: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:9105: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:9108: \"$ac_try\"") >&5 + echo "$as_me:9217: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:9220: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9111: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:9223: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found iconv headers in $cf_cv_header_path_iconv" 1>&6 -echo "${as_me:-configure}:9116: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5 +echo "${as_me:-configure}:9228: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5 cf_cv_find_linkage_iconv=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_iconv" = maybe ; then -echo "${as_me:-configure}:9134: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5 +echo "${as_me:-configure}:9246: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" @@ -9143,7 +9255,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -9151,11 +9263,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/iconv && cf_search="$cf_search $cf_library_path/lib/iconv" - test -d $cf_library_path/lib/iconv/lib && cf_search="$cf_search $cf_library_path/lib/iconv/lib" - test -d $cf_library_path/iconv/lib && cf_search="$cf_search $cf_library_path/iconv/lib" - test -d $cf_library_path/iconv/lib/iconv && cf_search="$cf_search $cf_library_path/iconv/lib/iconv" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/iconv" && cf_search="$cf_search $cf_library_path/lib/iconv" + test -d "$cf_library_path/lib/iconv/lib" && cf_search="$cf_search $cf_library_path/lib/iconv/lib" + test -d "$cf_library_path/iconv/lib" && cf_search="$cf_search $cf_library_path/iconv/lib" + test -d "$cf_library_path/iconv/lib/iconv" && cf_search="$cf_search $cf_library_path/iconv/lib/iconv" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -9170,11 +9282,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/iconv && cf_search="$cf_search $prefix/lib/iconv" - test -d $prefix/lib/iconv/lib && cf_search="$cf_search $prefix/lib/iconv/lib" - test -d $prefix/iconv/lib && cf_search="$cf_search $prefix/iconv/lib" - test -d $prefix/iconv/lib/iconv && cf_search="$cf_search $prefix/iconv/lib/iconv" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/iconv" && cf_search="$cf_search $prefix/lib/iconv" + test -d "$prefix/lib/iconv/lib" && cf_search="$cf_search $prefix/lib/iconv/lib" + test -d "$prefix/iconv/lib" && cf_search="$cf_search $prefix/iconv/lib" + test -d "$prefix/iconv/lib/iconv" && cf_search="$cf_search $prefix/iconv/lib/iconv" } for cf_subdir_prefix in \ @@ -9188,13 +9300,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/iconv && cf_search="$cf_search $cf_subdir_prefix/lib/iconv" - test -d $cf_subdir_prefix/lib/iconv/lib && cf_search="$cf_search $cf_subdir_prefix/lib/iconv/lib" - test -d $cf_subdir_prefix/iconv/lib && cf_search="$cf_search $cf_subdir_prefix/iconv/lib" - test -d $cf_subdir_prefix/iconv/lib/iconv && cf_search="$cf_search $cf_subdir_prefix/iconv/lib/iconv" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/iconv" && cf_search="$cf_search $cf_subdir_prefix/lib/iconv" + test -d "$cf_subdir_prefix/lib/iconv/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/iconv/lib" + test -d "$cf_subdir_prefix/iconv/lib" && cf_search="$cf_search $cf_subdir_prefix/iconv/lib" + test -d "$cf_subdir_prefix/iconv/lib/iconv" && cf_search="$cf_search $cf_subdir_prefix/iconv/lib/iconv" } done @@ -9203,16 +9315,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_iconv in $cf_search do - if test -d $cf_cv_library_path_iconv ; then + if test -d "$cf_cv_library_path_iconv" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_iconv" 1>&6 -echo "${as_me:-configure}:9209: testing ... testing $cf_cv_library_path_iconv ..." 1>&5 +echo "${as_me:-configure}:9321: testing ... testing $cf_cv_library_path_iconv ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-liconv $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_iconv" - cat >conftest.$ac_ext <<_ACEOF -#line 9215 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 9327 "configure" #include "confdefs.h" #include <stdlib.h> @@ -9230,36 +9342,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9234: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:9346: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:9237: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9240: \"$ac_try\"") >&5 + echo "$as_me:9349: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:9352: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9243: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:9355: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found iconv library in $cf_cv_library_path_iconv" 1>&6 -echo "${as_me:-configure}:9248: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5 +echo "${as_me:-configure}:9360: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5 cf_cv_find_linkage_iconv=yes cf_cv_library_file_iconv="-liconv" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -9271,10 +9383,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -9285,7 +9397,7 @@ am_cv_func_iconv="no, consider installing GNU libiconv" fi fi -echo "$as_me:9288: result: $am_cv_func_iconv" >&5 +echo "$as_me:9400: result: $am_cv_func_iconv" >&5 echo "${ECHO_T}$am_cv_func_iconv" >&6 if test "$am_cv_func_iconv" = yes; then @@ -9294,14 +9406,14 @@ cat >>confdefs.h <<\EOF #define HAVE_ICONV 1 EOF - echo "$as_me:9297: checking if the declaration of iconv() needs const." >&5 + echo "$as_me:9409: checking if the declaration of iconv() needs const." >&5 echo $ECHO_N "checking if the declaration of iconv() needs const.... $ECHO_C" >&6 if test "${am_cv_proto_iconv_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9304 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 9416 "configure" #include "confdefs.h" #include <stdlib.h> @@ -9325,27 +9437,27 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:9329: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:9441: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:9332: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:9335: \"$ac_try\"") >&5 + echo "$as_me:9444: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:9447: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9338: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:9450: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then am_cv_proto_iconv_const=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 am_cv_proto_iconv_const=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:9348: result: $am_cv_proto_iconv_const" >&5 +echo "$as_me:9460: result: $am_cv_proto_iconv_const" >&5 echo "${ECHO_T}$am_cv_proto_iconv_const" >&6 if test "$am_cv_proto_iconv_const" = yes ; then @@ -9366,9 +9478,9 @@ EOF if test -n "$cf_cv_header_path_iconv" ; then for cf_add_incdir in $cf_cv_header_path_iconv do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -9389,8 +9501,8 @@ if test -n "$cf_cv_header_path_iconv" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 9393 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 9505 "configure" #include "confdefs.h" #include <stdio.h> int @@ -9401,25 +9513,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:9405: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:9517: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:9408: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:9411: \"$ac_try\"") >&5 + echo "$as_me:9520: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:9523: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9414: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:9526: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -9428,11 +9540,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:9431: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:9543: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -9451,9 +9563,9 @@ fi if test -n "$cf_cv_library_path_iconv" ; then for cf_add_libdir in $cf_cv_library_path_iconv do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -9467,7 +9579,7 @@ if test -n "$cf_cv_library_path_iconv" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:9470: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:9582: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -9478,13 +9590,13 @@ fi fi fi -echo "$as_me:9481: checking for nl_langinfo and CODESET" >&5 +echo "$as_me:9593: checking for nl_langinfo and CODESET" >&5 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 if test "${am_cv_langinfo_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9487 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 9599 "configure" #include "confdefs.h" #include <langinfo.h> int @@ -9495,30 +9607,30 @@ char* cs = nl_langinfo(CODESET); (void)cs return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9499: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:9611: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:9502: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9505: \"$ac_try\"") >&5 + echo "$as_me:9614: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:9617: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9508: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:9620: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then am_cv_langinfo_codeset=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 am_cv_langinfo_codeset=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:9519: result: $am_cv_langinfo_codeset" >&5 +echo "$as_me:9631: result: $am_cv_langinfo_codeset" >&5 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 - if test $am_cv_langinfo_codeset = yes; then + if test "$am_cv_langinfo_codeset" = yes; then cat >>confdefs.h <<\EOF #define HAVE_LANGINFO_CODESET 1 @@ -9526,14 +9638,14 @@ EOF fi - if test $ac_cv_header_locale_h = yes; then - echo "$as_me:9530: checking for LC_MESSAGES" >&5 + if test "$ac_cv_header_locale_h" = yes; then + echo "$as_me:9642: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 9536 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 9648 "configure" #include "confdefs.h" #include <locale.h> int @@ -9544,29 +9656,29 @@ return LC_MESSAGES return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9548: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:9660: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:9551: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9554: \"$ac_try\"") >&5 + echo "$as_me:9663: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:9666: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9557: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:9669: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then am_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 am_cv_val_LC_MESSAGES=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:9567: result: $am_cv_val_LC_MESSAGES" >&5 +echo "$as_me:9679: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 - if test $am_cv_val_LC_MESSAGES = yes; then + if test "$am_cv_val_LC_MESSAGES" = yes; then cat >>confdefs.h <<\EOF #define HAVE_LC_MESSAGES 1 @@ -9574,7 +9686,7 @@ EOF fi fi - echo "$as_me:9577: checking whether NLS is requested" >&5 + echo "$as_me:9689: checking whether NLS is requested" >&5 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 # Check whether --enable-nls or --disable-nls was given. @@ -9584,7 +9696,7 @@ if test "${enable_nls+set}" = set; then else USE_NLS=no fi; - echo "$as_me:9587: result: $USE_NLS" >&5 + echo "$as_me:9699: result: $USE_NLS" >&5 echo "${ECHO_T}$USE_NLS" >&6 BUILD_INCLUDED_LIBINTL=no @@ -9598,7 +9710,7 @@ cat >>confdefs.h <<\EOF #define ENABLE_NLS 1 EOF - echo "$as_me:9601: checking whether included gettext is requested" >&5 + echo "$as_me:9713: checking whether included gettext is requested" >&5 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6 # Check whether --with-included-gettext or --without-included-gettext was given. @@ -9608,7 +9720,7 @@ if test "${with_included_gettext+set}" = set; then else nls_cv_force_use_gnu_gettext=no fi; - echo "$as_me:9611: result: $nls_cv_force_use_gnu_gettext" >&5 + echo "$as_me:9723: result: $nls_cv_force_use_gnu_gettext" >&5 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" @@ -9621,7 +9733,7 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 -echo "$as_me:9624: checking for $ac_word" >&5 +echo "$as_me:9736: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -9634,7 +9746,7 @@ else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word$ac_exeext; then + if test -f "$ac_dir/$ac_word$ac_exeext" ; then if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exeext" break @@ -9648,16 +9760,16 @@ esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then - echo "$as_me:9651: result: $MSGFMT" >&5 + echo "$as_me:9763: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6 else - echo "$as_me:9654: result: no" >&5 + echo "$as_me:9766: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 -echo "$as_me:9660: checking for $ac_word" >&5 +echo "$as_me:9772: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -9674,7 +9786,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_GMSGFMT="$ac_dir/$ac_word" - echo "$as_me:9677: found $ac_dir/$ac_word" >&5 + echo "$as_me:9789: found $ac_dir/$ac_word" >&5 break fi done @@ -9686,17 +9798,17 @@ fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then - echo "$as_me:9689: result: $GMSGFMT" >&5 + echo "$as_me:9801: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6 else - echo "$as_me:9692: result: no" >&5 + echo "$as_me:9804: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 -echo "$as_me:9699: checking for $ac_word" >&5 +echo "$as_me:9811: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -9709,7 +9821,7 @@ else IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word$ac_exeext; then + if test -f "$ac_dir/$ac_word$ac_exeext" ; then if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exeext" break @@ -9723,10 +9835,10 @@ esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then - echo "$as_me:9726: result: $XGETTEXT" >&5 + echo "$as_me:9838: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6 else - echo "$as_me:9729: result: no" >&5 + echo "$as_me:9841: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -9741,19 +9853,19 @@ cf_new_extra_cppflags= for cf_add_cflags in -DIGNORE_MSGFMT_HACK do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -9772,7 +9884,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -9802,7 +9914,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -9857,12 +9969,12 @@ LIBS="$cf_add_libs" cf_cv_header_path_intl= cf_cv_library_path_intl= -echo "${as_me:-configure}:9860: testing Starting FIND_LINKAGE(intl,) ..." 1>&5 +echo "${as_me:-configure}:9972: testing Starting FIND_LINKAGE(intl,) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 9865 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 9977 "configure" #include "confdefs.h" #include <libintl.h> @@ -9883,18 +9995,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9887: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:9999: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:9890: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9893: \"$ac_try\"") >&5 + echo "$as_me:10002: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:10005: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9896: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:10008: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_intl=yes cf_cv_header_path_intl=/usr/include @@ -9902,12 +10014,12 @@ if { (eval echo "$as_me:9887: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lintl $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 9910 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 10022 "configure" #include "confdefs.h" #include <libintl.h> @@ -9928,18 +10040,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:9932: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:10044: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:9935: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:9938: \"$ac_try\"") >&5 + echo "$as_me:10047: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:10050: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:9941: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:10053: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_intl=yes cf_cv_header_path_intl=/usr/include @@ -9948,16 +10060,16 @@ if { (eval echo "$as_me:9932: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_intl=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for intl library" 1>&6 -echo "${as_me:-configure}:9958: testing find linkage for intl library ..." 1>&5 +echo "${as_me:-configure}:10070: testing find linkage for intl library ..." 1>&5 -echo "${as_me:-configure}:9960: testing Searching for headers in FIND_LINKAGE(intl,) ..." 1>&5 +echo "${as_me:-configure}:10072: testing Searching for headers in FIND_LINKAGE(intl,) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -9969,7 +10081,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -9977,11 +10089,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/intl && cf_search="$cf_search $cf_header_path/include/intl" - test -d $cf_header_path/include/intl/include && cf_search="$cf_search $cf_header_path/include/intl/include" - test -d $cf_header_path/intl/include && cf_search="$cf_search $cf_header_path/intl/include" - test -d $cf_header_path/intl/include/intl && cf_search="$cf_search $cf_header_path/intl/include/intl" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/intl" && cf_search="$cf_search $cf_header_path/include/intl" + test -d "$cf_header_path/include/intl/include" && cf_search="$cf_search $cf_header_path/include/intl/include" + test -d "$cf_header_path/intl/include" && cf_search="$cf_search $cf_header_path/intl/include" + test -d "$cf_header_path/intl/include/intl" && cf_search="$cf_search $cf_header_path/intl/include/intl" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -9998,11 +10110,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/intl && cf_search="$cf_search $prefix/include/intl" - test -d $prefix/include/intl/include && cf_search="$cf_search $prefix/include/intl/include" - test -d $prefix/intl/include && cf_search="$cf_search $prefix/intl/include" - test -d $prefix/intl/include/intl && cf_search="$cf_search $prefix/intl/include/intl" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/intl" && cf_search="$cf_search $prefix/include/intl" + test -d "$prefix/include/intl/include" && cf_search="$cf_search $prefix/include/intl/include" + test -d "$prefix/intl/include" && cf_search="$cf_search $prefix/intl/include" + test -d "$prefix/intl/include/intl" && cf_search="$cf_search $prefix/intl/include/intl" } for cf_subdir_prefix in \ @@ -10016,13 +10128,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/intl && cf_search="$cf_search $cf_subdir_prefix/include/intl" - test -d $cf_subdir_prefix/include/intl/include && cf_search="$cf_search $cf_subdir_prefix/include/intl/include" - test -d $cf_subdir_prefix/intl/include && cf_search="$cf_search $cf_subdir_prefix/intl/include" - test -d $cf_subdir_prefix/intl/include/intl && cf_search="$cf_search $cf_subdir_prefix/intl/include/intl" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/intl" && cf_search="$cf_search $cf_subdir_prefix/include/intl" + test -d "$cf_subdir_prefix/include/intl/include" && cf_search="$cf_search $cf_subdir_prefix/include/intl/include" + test -d "$cf_subdir_prefix/intl/include" && cf_search="$cf_search $cf_subdir_prefix/intl/include" + test -d "$cf_subdir_prefix/intl/include/intl" && cf_search="$cf_search $cf_subdir_prefix/intl/include/intl" } done @@ -10030,33 +10142,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/intl && cf_search="$cf_search $includedir/intl" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/intl" && cf_search="$cf_search $includedir/intl" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/intl && cf_search="$cf_search $oldincludedir/intl" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/intl" && cf_search="$cf_search $oldincludedir/intl" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_intl in $cf_search do - if test -d $cf_cv_header_path_intl ; then + if test -d "$cf_cv_header_path_intl" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_intl" 1>&6 -echo "${as_me:-configure}:10051: testing ... testing $cf_cv_header_path_intl ..." 1>&5 +echo "${as_me:-configure}:10163: testing ... testing $cf_cv_header_path_intl ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_intl" - cat >conftest.$ac_ext <<_ACEOF -#line 10059 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 10171 "configure" #include "confdefs.h" #include <libintl.h> @@ -10077,40 +10189,40 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:10081: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:10193: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:10084: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:10087: \"$ac_try\"") >&5 + echo "$as_me:10196: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:10199: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:10090: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:10202: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found intl headers in $cf_cv_header_path_intl" 1>&6 -echo "${as_me:-configure}:10095: testing ... found intl headers in $cf_cv_header_path_intl ..." 1>&5 +echo "${as_me:-configure}:10207: testing ... found intl headers in $cf_cv_header_path_intl ..." 1>&5 cf_cv_find_linkage_intl=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_intl" = maybe ; then -echo "${as_me:-configure}:10113: testing Searching for intl library in FIND_LINKAGE(intl,) ..." 1>&5 +echo "${as_me:-configure}:10225: testing Searching for intl library in FIND_LINKAGE(intl,) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" @@ -10122,7 +10234,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -10130,11 +10242,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/intl && cf_search="$cf_search $cf_library_path/lib/intl" - test -d $cf_library_path/lib/intl/lib && cf_search="$cf_search $cf_library_path/lib/intl/lib" - test -d $cf_library_path/intl/lib && cf_search="$cf_search $cf_library_path/intl/lib" - test -d $cf_library_path/intl/lib/intl && cf_search="$cf_search $cf_library_path/intl/lib/intl" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/intl" && cf_search="$cf_search $cf_library_path/lib/intl" + test -d "$cf_library_path/lib/intl/lib" && cf_search="$cf_search $cf_library_path/lib/intl/lib" + test -d "$cf_library_path/intl/lib" && cf_search="$cf_search $cf_library_path/intl/lib" + test -d "$cf_library_path/intl/lib/intl" && cf_search="$cf_search $cf_library_path/intl/lib/intl" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -10149,11 +10261,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/intl && cf_search="$cf_search $prefix/lib/intl" - test -d $prefix/lib/intl/lib && cf_search="$cf_search $prefix/lib/intl/lib" - test -d $prefix/intl/lib && cf_search="$cf_search $prefix/intl/lib" - test -d $prefix/intl/lib/intl && cf_search="$cf_search $prefix/intl/lib/intl" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/intl" && cf_search="$cf_search $prefix/lib/intl" + test -d "$prefix/lib/intl/lib" && cf_search="$cf_search $prefix/lib/intl/lib" + test -d "$prefix/intl/lib" && cf_search="$cf_search $prefix/intl/lib" + test -d "$prefix/intl/lib/intl" && cf_search="$cf_search $prefix/intl/lib/intl" } for cf_subdir_prefix in \ @@ -10167,13 +10279,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/intl && cf_search="$cf_search $cf_subdir_prefix/lib/intl" - test -d $cf_subdir_prefix/lib/intl/lib && cf_search="$cf_search $cf_subdir_prefix/lib/intl/lib" - test -d $cf_subdir_prefix/intl/lib && cf_search="$cf_search $cf_subdir_prefix/intl/lib" - test -d $cf_subdir_prefix/intl/lib/intl && cf_search="$cf_search $cf_subdir_prefix/intl/lib/intl" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/intl" && cf_search="$cf_search $cf_subdir_prefix/lib/intl" + test -d "$cf_subdir_prefix/lib/intl/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/intl/lib" + test -d "$cf_subdir_prefix/intl/lib" && cf_search="$cf_search $cf_subdir_prefix/intl/lib" + test -d "$cf_subdir_prefix/intl/lib/intl" && cf_search="$cf_search $cf_subdir_prefix/intl/lib/intl" } done @@ -10182,16 +10294,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_intl in $cf_search do - if test -d $cf_cv_library_path_intl ; then + if test -d "$cf_cv_library_path_intl" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_intl" 1>&6 -echo "${as_me:-configure}:10188: testing ... testing $cf_cv_library_path_intl ..." 1>&5 +echo "${as_me:-configure}:10300: testing ... testing $cf_cv_library_path_intl ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lintl $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_intl" - cat >conftest.$ac_ext <<_ACEOF -#line 10194 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 10306 "configure" #include "confdefs.h" #include <libintl.h> @@ -10212,36 +10324,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:10216: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:10328: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:10219: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:10222: \"$ac_try\"") >&5 + echo "$as_me:10331: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:10334: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:10225: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:10337: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found intl library in $cf_cv_library_path_intl" 1>&6 -echo "${as_me:-configure}:10230: testing ... found intl library in $cf_cv_library_path_intl ..." 1>&5 +echo "${as_me:-configure}:10342: testing ... found intl library in $cf_cv_library_path_intl ..." 1>&5 cf_cv_find_linkage_intl=yes cf_cv_library_file_intl="-lintl" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -10253,10 +10365,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -10266,9 +10378,9 @@ else cf_cv_func_gettext=no fi - echo "$as_me:10269: checking for libintl.h and gettext()" >&5 + echo "$as_me:10381: checking for libintl.h and gettext()" >&5 echo $ECHO_N "checking for libintl.h and gettext()... $ECHO_C" >&6 - echo "$as_me:10271: result: $cf_cv_func_gettext" >&5 + echo "$as_me:10383: result: $cf_cv_func_gettext" >&5 echo "${ECHO_T}$cf_cv_func_gettext" >&6 LIBS="$cf_save_LIBS_1" @@ -10289,9 +10401,9 @@ EOF if test -n "$cf_cv_header_path_intl" ; then for cf_add_incdir in $cf_cv_header_path_intl do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -10312,8 +10424,8 @@ if test -n "$cf_cv_header_path_intl" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 10316 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 10428 "configure" #include "confdefs.h" #include <stdio.h> int @@ -10324,25 +10436,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:10328: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:10440: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:10331: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:10334: \"$ac_try\"") >&5 + echo "$as_me:10443: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:10446: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:10337: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:10449: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -10351,11 +10463,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:10354: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:10466: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -10374,9 +10486,9 @@ fi if test -n "$cf_cv_library_path_intl" ; then for cf_add_libdir in $cf_cv_library_path_intl do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -10390,7 +10502,7 @@ if test -n "$cf_cv_library_path_intl" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:10393: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:10505: testing adding $cf_add_libdir to library-path ..." 1>&5 INTLLIBS="-L$cf_add_libdir $INTLLIBS" fi @@ -10406,13 +10518,13 @@ fi for ac_func in dcgettext do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:10409: checking for $ac_func" >&5 +echo "$as_me:10521: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 10415 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 10527 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -10442,29 +10554,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:10446: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:10558: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:10449: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:10452: \"$ac_try\"") >&5 + echo "$as_me:10561: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:10564: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:10455: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:10567: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:10465: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:10577: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -10477,7 +10589,7 @@ done CATOBJEXT=.gmo fi elif test -z "$MSGFMT" || test -z "$XGETTEXT" ; then - { echo "$as_me:10480: WARNING: disabling NLS feature" >&5 + { echo "$as_me:10592: WARNING: disabling NLS feature" >&5 echo "$as_me: WARNING: disabling NLS feature" >&2;} sed -e /ENABLE_NLS/d confdefs.h >confdefs.tmp mv confdefs.tmp confdefs.h @@ -10500,7 +10612,7 @@ echo "$as_me: WARNING: disabling NLS feature" >&2;} if test "$nls_cv_use_gnu_gettext" != "no"; then CATOBJEXT=.gmo - if test -f $srcdir/intl/libintl.h ; then + if test -f "$srcdir/intl/libintl.h" ; then INTLOBJS="\$(GETTOBJS)" BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes @@ -10508,7 +10620,7 @@ echo "$as_me: WARNING: disabling NLS feature" >&2;} LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` elif test "$nls_cv_use_gnu_gettext" = "yes"; then nls_cv_use_gnu_gettext=no - { echo "$as_me:10511: WARNING: no NLS library is packaged with this application" >&5 + { echo "$as_me:10623: WARNING: no NLS library is packaged with this application" >&5 echo "$as_me: WARNING: no NLS library is packaged with this application" >&2;} fi fi @@ -10517,7 +10629,7 @@ echo "$as_me: WARNING: no NLS library is packaged with this application" >&2;} if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then : ; else - { echo "$as_me:10520: WARNING: found msgfmt program is not GNU msgfmt" >&5 + { echo "$as_me:10632: WARNING: found msgfmt program is not GNU msgfmt" >&5 echo "$as_me: WARNING: found msgfmt program is not GNU msgfmt" >&2;} fi fi @@ -10526,7 +10638,7 @@ echo "$as_me: WARNING: found msgfmt program is not GNU msgfmt" >&2;} if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then : ; else - { echo "$as_me:10529: WARNING: found xgettext program is not GNU xgettext" >&5 + { echo "$as_me:10641: WARNING: found xgettext program is not GNU xgettext" >&5 echo "$as_me: WARNING: found xgettext program is not GNU xgettext" >&2;} fi fi @@ -10544,7 +10656,7 @@ echo "$as_me: WARNING: found xgettext program is not GNU xgettext" >&2;} do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:10547: checking for $ac_word" >&5 +echo "$as_me:10659: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_INTLBISON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -10559,7 +10671,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_INTLBISON="$ac_prog" -echo "$as_me:10562: found $ac_dir/$ac_word" >&5 +echo "$as_me:10674: found $ac_dir/$ac_word" >&5 break done @@ -10567,10 +10679,10 @@ fi fi INTLBISON=$ac_cv_prog_INTLBISON if test -n "$INTLBISON"; then - echo "$as_me:10570: result: $INTLBISON" >&5 + echo "$as_me:10682: result: $INTLBISON" >&5 echo "${ECHO_T}$INTLBISON" >&6 else - echo "$as_me:10573: result: no" >&5 + echo "$as_me:10685: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -10580,19 +10692,19 @@ done if test -z "$INTLBISON"; then ac_verc_fail=yes else - echo "$as_me:10583: checking version of bison" >&5 + echo "$as_me:10695: checking version of bison" >&5 echo $ECHO_N "checking version of bison... $ECHO_C" >&6 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` - case $ac_prog_version in + case "$ac_prog_version" in ('') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; (1.2[6-9]*|1.[3-9][0-9]*|[2-9].*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; (*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac - echo "$as_me:10592: result: $ac_prog_version" >&5 + echo "$as_me:10704: result: $ac_prog_version" >&5 echo "${ECHO_T}$ac_prog_version" >&6 fi - if test $ac_verc_fail = yes; then + if test "$ac_verc_fail" = yes; then INTLBISON=: fi fi @@ -10616,7 +10728,7 @@ echo "${ECHO_T}$ac_prog_version" >&6 if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else - echo "$as_me:10619: checking for catalogs to be installed" >&5 + echo "$as_me:10731: checking for catalogs to be installed" >&5 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do @@ -10631,12 +10743,12 @@ echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 ("$presentlang"*) useit=yes;; esac done - if test $useit = yes; then + if test "$useit" = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS - echo "$as_me:10639: result: $LINGUAS" >&5 + echo "$as_me:10751: result: $LINGUAS" >&5 echo "${ECHO_T}$LINGUAS" >&6 fi @@ -10671,8 +10783,8 @@ cf_makefile=makefile use_our_messages=no if test "$USE_NLS" = yes ; then -if test -d $srcdir/po ; then -echo "$as_me:10675: checking if we should use included message-library" >&5 +if test -d "$srcdir/po" ; then +echo "$as_me:10787: checking if we should use included message-library" >&5 echo $ECHO_N "checking if we should use included message-library... $ECHO_C" >&6 # Check whether --enable-included-msgs or --disable-included-msgs was given. @@ -10683,7 +10795,7 @@ else use_our_messages=yes fi; fi -echo "$as_me:10686: result: $use_our_messages" >&5 +echo "$as_me:10798: result: $use_our_messages" >&5 echo "${ECHO_T}$use_our_messages" >&6 fi @@ -10725,24 +10837,24 @@ else for ac_header in libintl.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:10728: checking for $ac_header" >&5 +echo "$as_me:10840: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 10734 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 10846 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:10738: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:10850: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:10744: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:10856: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -10755,14 +10867,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:10763: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:10875: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -10837,19 +10949,19 @@ case ".$withval" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval withval="$withval" case ".$withval" in (.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:10852: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:10964: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -10858,7 +10970,7 @@ esac fi eval NLS_DATADIR="$withval" -echo "$as_me:10861: checking if you want full utility pathnames" >&5 +echo "$as_me:10973: checking if you want full utility pathnames" >&5 echo $ECHO_N "checking if you want full utility pathnames... $ECHO_C" >&6 # Check whether --enable-full-paths or --disable-full-paths was given. @@ -10875,14 +10987,14 @@ else with_full_paths=yes fi; -echo "$as_me:10878: result: $with_full_paths" >&5 +echo "$as_me:10990: result: $with_full_paths" >&5 echo "${ECHO_T}$with_full_paths" >&6 -test $with_full_paths = no && +test "$with_full_paths" = no && cat >>confdefs.h <<\EOF #define USE_EXECVP 1 EOF -echo "$as_me:10885: checking for system mailer" >&5 +echo "$as_me:10997: checking for system mailer" >&5 echo $ECHO_N "checking for system mailer... $ECHO_C" >&6 if test "${cf_cv_SYSTEM_MAIL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -10894,28 +11006,28 @@ else /usr/lib/sendmail \ do - if test -f $cv_path ; then - cf_cv_SYSTEM_MAIL=$cv_path + if test -f "$cv_path" ; then + cf_cv_SYSTEM_MAIL="$cv_path" break fi done fi -echo "$as_me:10905: result: $cf_cv_SYSTEM_MAIL" >&5 +echo "$as_me:11017: result: $cf_cv_SYSTEM_MAIL" >&5 echo "${ECHO_T}$cf_cv_SYSTEM_MAIL" >&6 cat >>confdefs.h <<EOF #define SYSTEM_MAIL "$cf_cv_SYSTEM_MAIL" EOF -echo "$as_me:10912: checking system mail flags" >&5 +echo "$as_me:11024: checking system mail flags" >&5 echo $ECHO_N "checking system mail flags... $ECHO_C" >&6 if test "${cf_cv_system_mail_flags+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $cf_cv_SYSTEM_MAIL in + case "$cf_cv_SYSTEM_MAIL" in (*/mmdf/*) cf_cv_system_mail_flags="-mlruxto,cc\\\\*" ;; @@ -10925,7 +11037,7 @@ else fi -echo "$as_me:10928: result: $cf_cv_system_mail_flags" >&5 +echo "$as_me:11040: result: $cf_cv_system_mail_flags" >&5 echo "${ECHO_T}$cf_cv_system_mail_flags" >&6 cat >>confdefs.h <<EOF @@ -10933,19 +11045,19 @@ cat >>confdefs.h <<EOF EOF if test -n "$SYSTEM_MAIL" ; then -if test $with_full_paths = no ; then - SYSTEM_MAIL=`basename $SYSTEM_MAIL` +if test "$with_full_paths" = no ; then + SYSTEM_MAIL=`basename "$SYSTEM_MAIL"` fi fi -echo "$as_me:10941: checking if the POSIX test-macros are already defined" >&5 +echo "$as_me:11053: checking if the POSIX test-macros are already defined" >&5 echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 if test "${cf_cv_posix_visible+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 10948 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 11060 "configure" #include "confdefs.h" #include <stdio.h> int @@ -10963,28 +11075,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:10967: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11079: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:10970: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:10973: \"$ac_try\"") >&5 + echo "$as_me:11082: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11085: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:10976: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11088: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_posix_visible=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_posix_visible=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:10987: result: $cf_cv_posix_visible" >&5 +echo "$as_me:11099: result: $cf_cv_posix_visible" >&5 echo "${ECHO_T}$cf_cv_posix_visible" >&6 if test "$cf_cv_posix_visible" = no; then @@ -10993,7 +11105,7 @@ cf_XOPEN_SOURCE=500 cf_POSIX_C_SOURCE=199506L cf_xopen_source= -case $host_os in +case "$host_os" in (aix[4-7]*) cf_xopen_source="-D_ALL_SOURCE" ;; @@ -11029,14 +11141,14 @@ case $host_os in cf_gnu_xopen_source=$cf_XOPEN_SOURCE -echo "$as_me:11032: checking if this is the GNU C library" >&5 +echo "$as_me:11144: checking if this is the GNU C library" >&5 echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 if test "${cf_cv_gnu_library+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 11039 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 11151 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -11054,28 +11166,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11058: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11170: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11061: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11064: \"$ac_try\"") >&5 + echo "$as_me:11173: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11176: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11067: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11179: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_gnu_library=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_gnu_library=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:11078: result: $cf_cv_gnu_library" >&5 +echo "$as_me:11190: result: $cf_cv_gnu_library" >&5 echo "${ECHO_T}$cf_cv_gnu_library" >&6 if test x$cf_cv_gnu_library = xyes; then @@ -11083,7 +11195,7 @@ if test x$cf_cv_gnu_library = xyes; then # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE # was changed to help a little. newlib incorporated the change about 4 # years later. - echo "$as_me:11086: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo "$as_me:11198: checking if _DEFAULT_SOURCE can be used as a basis" >&5 echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 if test "${cf_cv_gnu_library_219+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11094,8 +11206,8 @@ else test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" - cat >conftest.$ac_ext <<_ACEOF -#line 11098 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11210 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -11113,34 +11225,34 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11117: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11229: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11120: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11123: \"$ac_try\"") >&5 + echo "$as_me:11232: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11235: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11126: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11238: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_gnu_library_219=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_gnu_library_219=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save" fi -echo "$as_me:11138: result: $cf_cv_gnu_library_219" >&5 +echo "$as_me:11250: result: $cf_cv_gnu_library_219" >&5 echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 if test "x$cf_cv_gnu_library_219" = xyes; then cf_save="$CPPFLAGS" - echo "$as_me:11143: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo "$as_me:11255: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 if test "${cf_cv_gnu_dftsrc_219+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11153,19 +11265,19 @@ cf_new_extra_cppflags= for cf_add_cflags in -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=$cf_gnu_xopen_source do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -11184,7 +11296,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -11214,7 +11326,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -11244,8 +11356,8 @@ if test -n "$cf_new_extra_cppflags" ; then fi - cat >conftest.$ac_ext <<_ACEOF -#line 11248 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11360 "configure" #include "confdefs.h" #include <limits.h> @@ -11264,28 +11376,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11268: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11380: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11271: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11274: \"$ac_try\"") >&5 + echo "$as_me:11383: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11386: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11277: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11389: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_gnu_dftsrc_219=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_gnu_dftsrc_219=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:11288: result: $cf_cv_gnu_dftsrc_219" >&5 +echo "$as_me:11400: result: $cf_cv_gnu_dftsrc_219" >&5 echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" else @@ -11294,14 +11406,14 @@ echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 if test "x$cf_cv_gnu_dftsrc_219" != xyes; then - echo "$as_me:11297: checking if we must define _GNU_SOURCE" >&5 + echo "$as_me:11409: checking if we must define _GNU_SOURCE" >&5 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 if test "${cf_cv_gnu_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 11304 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11416 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -11315,22 +11427,22 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11319: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11431: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11322: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11325: \"$ac_try\"") >&5 + echo "$as_me:11434: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11437: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11328: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11440: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_gnu_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_save="$CPPFLAGS" cf_fix_cppflags=no @@ -11340,19 +11452,19 @@ cf_new_extra_cppflags= for cf_add_cflags in -D_GNU_SOURCE do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -11371,7 +11483,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -11401,7 +11513,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -11431,8 +11543,8 @@ if test -n "$cf_new_extra_cppflags" ; then fi - cat >conftest.$ac_ext <<_ACEOF -#line 11435 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11547 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -11446,37 +11558,37 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11450: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11562: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11453: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11456: \"$ac_try\"") >&5 + echo "$as_me:11565: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11568: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11459: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11571: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_gnu_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_gnu_source=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:11474: result: $cf_cv_gnu_source" >&5 +echo "$as_me:11586: result: $cf_cv_gnu_source" >&5 echo "${ECHO_T}$cf_cv_gnu_source" >&6 if test "$cf_cv_gnu_source" = yes then - echo "$as_me:11479: checking if we should also define _DEFAULT_SOURCE" >&5 + echo "$as_me:11591: checking if we should also define _DEFAULT_SOURCE" >&5 echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 if test "${cf_cv_default_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11485,8 +11597,8 @@ else test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" - cat >conftest.$ac_ext <<_ACEOF -#line 11489 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11601 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -11500,28 +11612,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11504: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11616: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11507: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11510: \"$ac_try\"") >&5 + echo "$as_me:11619: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11622: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11513: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11625: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_default_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_default_source=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:11524: result: $cf_cv_default_source" >&5 +echo "$as_me:11636: result: $cf_cv_default_source" >&5 echo "${ECHO_T}$cf_cv_default_source" >&6 if test "$cf_cv_default_source" = yes then @@ -11558,16 +11670,16 @@ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -echo "$as_me:11561: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:11673: checking if we should define _POSIX_C_SOURCE" >&5 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 if test "${cf_cv_posix_c_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -echo "${as_me:-configure}:11567: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:11679: testing if the symbol is already defined go no further ..." 1>&5 - cat >conftest.$ac_ext <<_ACEOF -#line 11570 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11682 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -11581,22 +11693,22 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11585: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11697: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11588: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11591: \"$ac_try\"") >&5 + echo "$as_me:11700: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11703: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11594: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11706: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_posix_c_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_want_posix_source=no case .$cf_POSIX_C_SOURCE in (.[12]??*) @@ -11611,8 +11723,8 @@ cf_want_posix_source=no ;; esac if test "$cf_want_posix_source" = yes ; then - cat >conftest.$ac_ext <<_ACEOF -#line 11615 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11727 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -11626,28 +11738,28 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11630: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11742: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11633: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11636: \"$ac_try\"") >&5 + echo "$as_me:11745: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11748: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11639: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11751: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "${as_me:-configure}:11650: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:11762: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -11655,10 +11767,10 @@ echo "${as_me:-configure}:11650: testing ifdef from value $cf_POSIX_C_SOURCE ... test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:11658: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:11770: testing if the second compile does not leave our definition intact error ..." 1>&5 - cat >conftest.$ac_ext <<_ACEOF -#line 11661 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11773 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -11672,33 +11784,33 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11676: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11788: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11679: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11682: \"$ac_try\"") >&5 + echo "$as_me:11791: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11794: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11685: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11797: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_posix_c_source=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CFLAGS="$cf_save_CFLAGS" CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:11701: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:11813: result: $cf_cv_posix_c_source" >&5 echo "${ECHO_T}$cf_cv_posix_c_source" >&6 if test "$cf_cv_posix_c_source" != no ; then @@ -11712,19 +11824,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_cv_posix_c_source do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -11743,7 +11855,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -11773,7 +11885,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -11838,14 +11950,14 @@ fi # cf_cv_posix_visible ;; (*) -echo "$as_me:11841: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:11953: checking if we should define _XOPEN_SOURCE" >&5 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 if test "${cf_cv_xopen_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 11848 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 11960 "configure" #include "confdefs.h" #include <stdlib.h> @@ -11863,29 +11975,29 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11867: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:11979: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11870: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11873: \"$ac_try\"") >&5 + echo "$as_me:11982: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:11985: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11876: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:11988: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_save="$CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" - cat >conftest.$ac_ext <<_ACEOF -#line 11888 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12000 "configure" #include "confdefs.h" #include <stdlib.h> @@ -11903,32 +12015,32 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:11907: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12019: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11910: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11913: \"$ac_try\"") >&5 + echo "$as_me:12022: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12025: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11916: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12028: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_xopen_source=$cf_XOPEN_SOURCE fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:11931: result: $cf_cv_xopen_source" >&5 +echo "$as_me:12043: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -11950,19 +12062,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_temp_xopen_source do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -11981,7 +12093,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -12011,7 +12123,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -12058,16 +12170,16 @@ cf_trim_CPPFLAGS=`echo "$cf_save_CPPFLAGS" | \ sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` -echo "$as_me:12061: checking if we should define _POSIX_C_SOURCE" >&5 +echo "$as_me:12173: checking if we should define _POSIX_C_SOURCE" >&5 echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 if test "${cf_cv_posix_c_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -echo "${as_me:-configure}:12067: testing if the symbol is already defined go no further ..." 1>&5 +echo "${as_me:-configure}:12179: testing if the symbol is already defined go no further ..." 1>&5 - cat >conftest.$ac_ext <<_ACEOF -#line 12070 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12182 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -12081,22 +12193,22 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12085: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12197: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12088: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12091: \"$ac_try\"") >&5 + echo "$as_me:12200: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12203: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12094: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12206: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_posix_c_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_want_posix_source=no case .$cf_POSIX_C_SOURCE in (.[12]??*) @@ -12111,8 +12223,8 @@ cf_want_posix_source=no ;; esac if test "$cf_want_posix_source" = yes ; then - cat >conftest.$ac_ext <<_ACEOF -#line 12115 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12227 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -12126,28 +12238,28 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12130: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12242: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12133: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12136: \"$ac_try\"") >&5 + echo "$as_me:12245: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12248: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12139: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12251: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_posix_c_source="$cf_cv_posix_c_source -D_POSIX_SOURCE" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "${as_me:-configure}:12150: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 +echo "${as_me:-configure}:12262: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 CFLAGS="$cf_trim_CFLAGS" CPPFLAGS="$cf_trim_CPPFLAGS" @@ -12155,10 +12267,10 @@ echo "${as_me:-configure}:12150: testing ifdef from value $cf_POSIX_C_SOURCE ... test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" -echo "${as_me:-configure}:12158: testing if the second compile does not leave our definition intact error ..." 1>&5 +echo "${as_me:-configure}:12270: testing if the second compile does not leave our definition intact error ..." 1>&5 - cat >conftest.$ac_ext <<_ACEOF -#line 12161 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12273 "configure" #include "confdefs.h" #include <sys/types.h> int @@ -12172,33 +12284,33 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12176: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12288: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12179: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12182: \"$ac_try\"") >&5 + echo "$as_me:12291: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12294: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12185: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12297: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_posix_c_source=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CFLAGS="$cf_save_CFLAGS" CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:12201: result: $cf_cv_posix_c_source" >&5 +echo "$as_me:12313: result: $cf_cv_posix_c_source" >&5 echo "${ECHO_T}$cf_cv_posix_c_source" >&6 if test "$cf_cv_posix_c_source" != no ; then @@ -12212,19 +12324,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_cv_posix_c_source do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -12243,7 +12355,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -12273,7 +12385,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -12319,19 +12431,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_xopen_source do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -12350,7 +12462,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -12380,7 +12492,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -12392,7 +12504,7 @@ done if test -n "$cf_new_cflags" ; then test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 -echo "${as_me:-configure}:12395: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 +echo "${as_me:-configure}:12507: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_new_cflags" @@ -12402,7 +12514,7 @@ fi if test -n "$cf_new_cppflags" ; then test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 -echo "${as_me:-configure}:12405: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 +echo "${as_me:-configure}:12517: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" @@ -12412,7 +12524,7 @@ fi if test -n "$cf_new_extra_cppflags" ; then test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 -echo "${as_me:-configure}:12415: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 +echo "${as_me:-configure}:12527: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" @@ -12422,10 +12534,10 @@ fi fi if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then - echo "$as_me:12425: checking if _XOPEN_SOURCE really is set" >&5 + echo "$as_me:12537: checking if _XOPEN_SOURCE really is set" >&5 echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 12428 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12540 "configure" #include "confdefs.h" #include <stdlib.h> int @@ -12439,31 +12551,31 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12443: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12555: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12446: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12449: \"$ac_try\"") >&5 + echo "$as_me:12558: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12561: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12452: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12564: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_XOPEN_SOURCE_set=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_XOPEN_SOURCE_set=no fi -rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:12461: result: $cf_XOPEN_SOURCE_set" >&5 +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + echo "$as_me:12573: result: $cf_XOPEN_SOURCE_set" >&5 echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6 - if test $cf_XOPEN_SOURCE_set = yes + if test "$cf_XOPEN_SOURCE_set" = yes then - cat >conftest.$ac_ext <<_ACEOF -#line 12466 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12578 "configure" #include "confdefs.h" #include <stdlib.h> int @@ -12477,40 +12589,40 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12481: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12593: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12484: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12487: \"$ac_try\"") >&5 + echo "$as_me:12596: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12599: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12490: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12602: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_XOPEN_SOURCE_set_ok=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_XOPEN_SOURCE_set_ok=no fi -rm -f conftest.$ac_objext conftest.$ac_ext - if test $cf_XOPEN_SOURCE_set_ok = no +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_XOPEN_SOURCE_set_ok" = no then - { echo "$as_me:12501: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + { echo "$as_me:12613: WARNING: _XOPEN_SOURCE is lower than requested" >&5 echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} fi else -echo "$as_me:12506: checking if we should define _XOPEN_SOURCE" >&5 +echo "$as_me:12618: checking if we should define _XOPEN_SOURCE" >&5 echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 if test "${cf_cv_xopen_source+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 12513 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12625 "configure" #include "confdefs.h" #include <stdlib.h> @@ -12528,29 +12640,29 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12532: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12644: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12535: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12538: \"$ac_try\"") >&5 + echo "$as_me:12647: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12650: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12541: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12653: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_save="$CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" - cat >conftest.$ac_ext <<_ACEOF -#line 12553 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12665 "configure" #include "confdefs.h" #include <stdlib.h> @@ -12568,32 +12680,32 @@ make an error return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12572: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12684: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12575: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12578: \"$ac_try\"") >&5 + echo "$as_me:12687: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12690: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12581: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12693: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_xopen_source=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_xopen_source=$cf_XOPEN_SOURCE fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:12596: result: $cf_cv_xopen_source" >&5 +echo "$as_me:12708: result: $cf_cv_xopen_source" >&5 echo "${ECHO_T}$cf_cv_xopen_source" >&6 if test "$cf_cv_xopen_source" != no ; then @@ -12615,19 +12727,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_temp_xopen_source do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -12646,7 +12758,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -12676,7 +12788,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -12712,14 +12824,14 @@ fi fi fi # cf_cv_posix_visible -echo "$as_me:12715: checking if SIGWINCH is defined" >&5 +echo "$as_me:12827: checking if SIGWINCH is defined" >&5 echo $ECHO_N "checking if SIGWINCH is defined... $ECHO_C" >&6 if test "${cf_cv_define_sigwinch+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 12722 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12834 "configure" #include "confdefs.h" #include <sys/types.h> @@ -12733,24 +12845,24 @@ int x = SIGWINCH; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12737: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12849: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12740: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12743: \"$ac_try\"") >&5 + echo "$as_me:12852: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12855: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12746: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12858: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_define_sigwinch=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 12753 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 12865 "configure" #include "confdefs.h" #undef _XOPEN_SOURCE @@ -12767,35 +12879,35 @@ int x = SIGWINCH; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12771: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12883: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12774: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12777: \"$ac_try\"") >&5 + echo "$as_me:12886: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12889: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12780: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12892: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_define_sigwinch=maybe else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_define_sigwinch=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:12794: result: $cf_cv_define_sigwinch" >&5 +echo "$as_me:12906: result: $cf_cv_define_sigwinch" >&5 echo "${ECHO_T}$cf_cv_define_sigwinch" >&6 if test "$cf_cv_define_sigwinch" = maybe ; then -echo "$as_me:12798: checking for actual SIGWINCH definition" >&5 +echo "$as_me:12910: checking for actual SIGWINCH definition" >&5 echo $ECHO_N "checking for actual SIGWINCH definition... $ECHO_C" >&6 if test "${cf_cv_fixup_sigwinch+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -12803,10 +12915,10 @@ else cf_cv_fixup_sigwinch=unknown cf_sigwinch=32 -while test $cf_sigwinch != 1 +while test "$cf_sigwinch" != 1 do - cat >conftest.$ac_ext <<_ACEOF -#line 12809 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 12921 "configure" #include "confdefs.h" #undef _XOPEN_SOURCE @@ -12827,31 +12939,31 @@ int x = SIGWINCH; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:12831: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:12943: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12834: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12837: \"$ac_try\"") >&5 + echo "$as_me:12946: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:12949: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12840: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:12952: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_fixup_sigwinch=$cf_sigwinch break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" -cf_sigwinch=`expr $cf_sigwinch - 1` +cf_sigwinch="`expr "$cf_sigwinch" - 1`" done fi -echo "$as_me:12854: result: $cf_cv_fixup_sigwinch" >&5 +echo "$as_me:12966: result: $cf_cv_fixup_sigwinch" >&5 echo "${ECHO_T}$cf_cv_fixup_sigwinch" >&6 if test "$cf_cv_fixup_sigwinch" != unknown ; then @@ -12863,7 +12975,7 @@ if test -n "$TRY_CFLAGS" ; then test -n "$verbose" && echo " checking additions to CFLAGS" 1>&6 -echo "${as_me:-configure}:12866: testing checking additions to CFLAGS ..." 1>&5 +echo "${as_me:-configure}:12978: testing checking additions to CFLAGS ..." 1>&5 cf_check_cflags="$CFLAGS" cf_check_cppflags="$CPPFLAGS" @@ -12875,19 +12987,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $TRY_CFLAGS do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -12906,7 +13018,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -12936,7 +13048,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -12948,7 +13060,7 @@ done if test -n "$cf_new_cflags" ; then test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 -echo "${as_me:-configure}:12951: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 +echo "${as_me:-configure}:13063: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_new_cflags" @@ -12958,7 +13070,7 @@ fi if test -n "$cf_new_cppflags" ; then test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 -echo "${as_me:-configure}:12961: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 +echo "${as_me:-configure}:13073: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" @@ -12968,7 +13080,7 @@ fi if test -n "$cf_new_extra_cppflags" ; then test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 -echo "${as_me:-configure}:12971: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 +echo "${as_me:-configure}:13083: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" @@ -12976,8 +13088,8 @@ echo "${as_me:-configure}:12971: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_c fi if test "x$cf_check_cflags" != "x$CFLAGS" ; then -cat >conftest.$ac_ext <<_ACEOF -#line 12980 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 13092 "configure" #include "confdefs.h" #include <stdio.h> int @@ -12988,42 +13100,42 @@ printf("Hello world"); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:12992: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:13104: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12995: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:12998: \"$ac_try\"") >&5 + echo "$as_me:13107: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:13110: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13001: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:13113: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 test -n "$verbose" && echo " test-compile failed. Undoing change to \$CFLAGS" 1>&6 -echo "${as_me:-configure}:13009: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 +echo "${as_me:-configure}:13121: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 if test "x$cf_check_cppflags" != "x$CPPFLAGS" ; then test -n "$verbose" && echo " but keeping change to \$CPPFLAGS" 1>&6 -echo "${as_me:-configure}:13014: testing but keeping change to \$CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:13126: testing but keeping change to \$CPPFLAGS ..." 1>&5 fi - CFLAGS="$cf_check_flags" + CFLAGS="$cf_check_cflags" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi fi ### Look for network libraries first, since some functions (such as gethostname) ### are used in a lot of places. -echo "$as_me:13026: checking if you want NSS compatible SSL libraries" >&5 +echo "$as_me:13138: checking if you want NSS compatible SSL libraries" >&5 echo $ECHO_N "checking if you want NSS compatible SSL libraries... $ECHO_C" >&6 if test "${cf_cv_use_libnss_compat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -13038,10 +13150,10 @@ else fi; fi -echo "$as_me:13041: result: $cf_cv_use_libnss_compat" >&5 +echo "$as_me:13153: result: $cf_cv_use_libnss_compat" >&5 echo "${ECHO_T}$cf_cv_use_libnss_compat" >&6 -echo "$as_me:13044: checking if you want ssl library" >&5 +echo "$as_me:13156: checking if you want ssl library" >&5 echo $ECHO_N "checking if you want ssl library... $ECHO_C" >&6 if test "${cf_cv_use_libssl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -13056,10 +13168,10 @@ else fi; fi -echo "$as_me:13059: result: $cf_cv_use_libssl" >&5 +echo "$as_me:13171: result: $cf_cv_use_libssl" >&5 echo "${ECHO_T}$cf_cv_use_libssl" >&6 -echo "$as_me:13062: checking if you want gnutls support" >&5 +echo "$as_me:13174: checking if you want gnutls support" >&5 echo $ECHO_N "checking if you want gnutls support... $ECHO_C" >&6 if test "${cf_cv_use_libgnutls+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -13074,11 +13186,11 @@ else fi; fi -echo "$as_me:13077: result: $cf_cv_use_libgnutls" >&5 +echo "$as_me:13189: result: $cf_cv_use_libgnutls" >&5 echo "${ECHO_T}$cf_cv_use_libgnutls" >&6 # this option is mainly for comparing with/without Lynx's wrapper for GNUTLS. -echo "$as_me:13081: checking if you want gnutls-openssl compat" >&5 +echo "$as_me:13193: checking if you want gnutls-openssl compat" >&5 echo $ECHO_N "checking if you want gnutls-openssl compat... $ECHO_C" >&6 if test "${cf_cv_gnutls_compat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -13093,10 +13205,10 @@ else fi; fi -echo "$as_me:13096: result: $cf_cv_gnutls_compat" >&5 +echo "$as_me:13208: result: $cf_cv_gnutls_compat" >&5 echo "${ECHO_T}$cf_cv_gnutls_compat" >&6 -echo "$as_me:13099: checking if you want socks library" >&5 +echo "$as_me:13211: checking if you want socks library" >&5 echo $ECHO_N "checking if you want socks library... $ECHO_C" >&6 if test "${cf_cv_use_libsocks+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -13111,10 +13223,10 @@ else fi; fi -echo "$as_me:13114: result: $cf_cv_use_libsocks" >&5 +echo "$as_me:13226: result: $cf_cv_use_libsocks" >&5 echo "${ECHO_T}$cf_cv_use_libsocks" >&6 -echo "$as_me:13117: checking if you want socks5 library" >&5 +echo "$as_me:13229: checking if you want socks5 library" >&5 echo $ECHO_N "checking if you want socks5 library... $ECHO_C" >&6 if test "${cf_cv_use_libsocks5+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -13129,7 +13241,7 @@ else fi; fi -echo "$as_me:13132: result: $cf_cv_use_libsocks5" >&5 +echo "$as_me:13244: result: $cf_cv_use_libsocks5" >&5 echo "${ECHO_T}$cf_cv_use_libsocks5" >&6 if test "x$cf_cv_use_libsocks" != xno ; then @@ -13142,14 +13254,14 @@ case "$cf_cv_use_libsocks" in (*) for cf_searchpath in `echo "$cf_cv_use_libsocks" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -13170,8 +13282,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 13174 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 13286 "configure" #include "confdefs.h" #include <stdio.h> int @@ -13182,25 +13294,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:13186: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:13298: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13189: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13192: \"$ac_try\"") >&5 + echo "$as_me:13301: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:13304: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13195: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:13307: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -13209,11 +13321,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:13212: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:13324: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -13226,14 +13338,14 @@ echo "${as_me:-configure}:13212: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -13254,8 +13366,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 13258 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 13370 "configure" #include "confdefs.h" #include <stdio.h> int @@ -13266,25 +13378,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:13270: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:13382: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13273: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13276: \"$ac_try\"") >&5 + echo "$as_me:13385: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:13388: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13279: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:13391: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -13293,11 +13405,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:13296: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:13408: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -13311,18 +13423,18 @@ echo "${as_me:-configure}:13296: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:13314: error: cannot find socks library under $cf_cv_use_libsocks" >&5 +{ { echo "$as_me:13426: error: cannot find socks library under $cf_cv_use_libsocks" >&5 echo "$as_me: error: cannot find socks library under $cf_cv_use_libsocks" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -13336,7 +13448,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:13339: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:13451: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -13344,14 +13456,14 @@ echo "${as_me:-configure}:13339: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -13365,7 +13477,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:13368: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:13480: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -13374,7 +13486,7 @@ echo "${as_me:-configure}:13368: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:13377: error: cannot find socks library under $cf_cv_use_libsocks" >&5 +{ { echo "$as_me:13489: error: cannot find socks library under $cf_cv_use_libsocks" >&5 echo "$as_me: error: cannot find socks library under $cf_cv_use_libsocks" >&2;} { (exit 1); exit 1; }; } fi @@ -13388,12 +13500,12 @@ esac cf_cv_header_path_socks= cf_cv_library_path_socks= -echo "${as_me:-configure}:13391: testing Starting FIND_LINKAGE(socks,) ..." 1>&5 +echo "${as_me:-configure}:13503: testing Starting FIND_LINKAGE(socks,) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 13396 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 13508 "configure" #include "confdefs.h" #include <stdio.h> @@ -13408,18 +13520,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13412: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:13524: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13415: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13418: \"$ac_try\"") >&5 + echo "$as_me:13527: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:13530: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13421: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:13533: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_socks=yes cf_cv_header_path_socks=/usr/include @@ -13427,12 +13539,12 @@ if { (eval echo "$as_me:13412: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lsocks $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 13435 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 13547 "configure" #include "confdefs.h" #include <stdio.h> @@ -13447,18 +13559,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13451: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:13563: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13454: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13457: \"$ac_try\"") >&5 + echo "$as_me:13566: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:13569: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13460: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:13572: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_socks=yes cf_cv_header_path_socks=/usr/include @@ -13467,16 +13579,16 @@ if { (eval echo "$as_me:13451: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_socks=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for socks library" 1>&6 -echo "${as_me:-configure}:13477: testing find linkage for socks library ..." 1>&5 +echo "${as_me:-configure}:13589: testing find linkage for socks library ..." 1>&5 -echo "${as_me:-configure}:13479: testing Searching for headers in FIND_LINKAGE(socks,) ..." 1>&5 +echo "${as_me:-configure}:13591: testing Searching for headers in FIND_LINKAGE(socks,) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -13488,7 +13600,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -13496,11 +13608,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/socks && cf_search="$cf_search $cf_header_path/include/socks" - test -d $cf_header_path/include/socks/include && cf_search="$cf_search $cf_header_path/include/socks/include" - test -d $cf_header_path/socks/include && cf_search="$cf_search $cf_header_path/socks/include" - test -d $cf_header_path/socks/include/socks && cf_search="$cf_search $cf_header_path/socks/include/socks" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/socks" && cf_search="$cf_search $cf_header_path/include/socks" + test -d "$cf_header_path/include/socks/include" && cf_search="$cf_search $cf_header_path/include/socks/include" + test -d "$cf_header_path/socks/include" && cf_search="$cf_search $cf_header_path/socks/include" + test -d "$cf_header_path/socks/include/socks" && cf_search="$cf_search $cf_header_path/socks/include/socks" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -13517,11 +13629,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/socks && cf_search="$cf_search $prefix/include/socks" - test -d $prefix/include/socks/include && cf_search="$cf_search $prefix/include/socks/include" - test -d $prefix/socks/include && cf_search="$cf_search $prefix/socks/include" - test -d $prefix/socks/include/socks && cf_search="$cf_search $prefix/socks/include/socks" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/socks" && cf_search="$cf_search $prefix/include/socks" + test -d "$prefix/include/socks/include" && cf_search="$cf_search $prefix/include/socks/include" + test -d "$prefix/socks/include" && cf_search="$cf_search $prefix/socks/include" + test -d "$prefix/socks/include/socks" && cf_search="$cf_search $prefix/socks/include/socks" } for cf_subdir_prefix in \ @@ -13535,13 +13647,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/socks && cf_search="$cf_search $cf_subdir_prefix/include/socks" - test -d $cf_subdir_prefix/include/socks/include && cf_search="$cf_search $cf_subdir_prefix/include/socks/include" - test -d $cf_subdir_prefix/socks/include && cf_search="$cf_search $cf_subdir_prefix/socks/include" - test -d $cf_subdir_prefix/socks/include/socks && cf_search="$cf_search $cf_subdir_prefix/socks/include/socks" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/socks" && cf_search="$cf_search $cf_subdir_prefix/include/socks" + test -d "$cf_subdir_prefix/include/socks/include" && cf_search="$cf_search $cf_subdir_prefix/include/socks/include" + test -d "$cf_subdir_prefix/socks/include" && cf_search="$cf_search $cf_subdir_prefix/socks/include" + test -d "$cf_subdir_prefix/socks/include/socks" && cf_search="$cf_search $cf_subdir_prefix/socks/include/socks" } done @@ -13549,33 +13661,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/socks && cf_search="$cf_search $includedir/socks" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/socks" && cf_search="$cf_search $includedir/socks" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/socks && cf_search="$cf_search $oldincludedir/socks" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/socks" && cf_search="$cf_search $oldincludedir/socks" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_socks in $cf_search do - if test -d $cf_cv_header_path_socks ; then + if test -d "$cf_cv_header_path_socks" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_socks" 1>&6 -echo "${as_me:-configure}:13570: testing ... testing $cf_cv_header_path_socks ..." 1>&5 +echo "${as_me:-configure}:13682: testing ... testing $cf_cv_header_path_socks ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_socks" - cat >conftest.$ac_ext <<_ACEOF -#line 13578 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 13690 "configure" #include "confdefs.h" #include <stdio.h> @@ -13590,40 +13702,40 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:13594: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:13706: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13597: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13600: \"$ac_try\"") >&5 + echo "$as_me:13709: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:13712: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13603: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:13715: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found socks headers in $cf_cv_header_path_socks" 1>&6 -echo "${as_me:-configure}:13608: testing ... found socks headers in $cf_cv_header_path_socks ..." 1>&5 +echo "${as_me:-configure}:13720: testing ... found socks headers in $cf_cv_header_path_socks ..." 1>&5 cf_cv_find_linkage_socks=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_socks" = maybe ; then -echo "${as_me:-configure}:13626: testing Searching for socks library in FIND_LINKAGE(socks,) ..." 1>&5 +echo "${as_me:-configure}:13738: testing Searching for socks library in FIND_LINKAGE(socks,) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" @@ -13635,7 +13747,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -13643,11 +13755,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/socks && cf_search="$cf_search $cf_library_path/lib/socks" - test -d $cf_library_path/lib/socks/lib && cf_search="$cf_search $cf_library_path/lib/socks/lib" - test -d $cf_library_path/socks/lib && cf_search="$cf_search $cf_library_path/socks/lib" - test -d $cf_library_path/socks/lib/socks && cf_search="$cf_search $cf_library_path/socks/lib/socks" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/socks" && cf_search="$cf_search $cf_library_path/lib/socks" + test -d "$cf_library_path/lib/socks/lib" && cf_search="$cf_search $cf_library_path/lib/socks/lib" + test -d "$cf_library_path/socks/lib" && cf_search="$cf_search $cf_library_path/socks/lib" + test -d "$cf_library_path/socks/lib/socks" && cf_search="$cf_search $cf_library_path/socks/lib/socks" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -13662,11 +13774,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/socks && cf_search="$cf_search $prefix/lib/socks" - test -d $prefix/lib/socks/lib && cf_search="$cf_search $prefix/lib/socks/lib" - test -d $prefix/socks/lib && cf_search="$cf_search $prefix/socks/lib" - test -d $prefix/socks/lib/socks && cf_search="$cf_search $prefix/socks/lib/socks" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/socks" && cf_search="$cf_search $prefix/lib/socks" + test -d "$prefix/lib/socks/lib" && cf_search="$cf_search $prefix/lib/socks/lib" + test -d "$prefix/socks/lib" && cf_search="$cf_search $prefix/socks/lib" + test -d "$prefix/socks/lib/socks" && cf_search="$cf_search $prefix/socks/lib/socks" } for cf_subdir_prefix in \ @@ -13680,13 +13792,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/socks && cf_search="$cf_search $cf_subdir_prefix/lib/socks" - test -d $cf_subdir_prefix/lib/socks/lib && cf_search="$cf_search $cf_subdir_prefix/lib/socks/lib" - test -d $cf_subdir_prefix/socks/lib && cf_search="$cf_search $cf_subdir_prefix/socks/lib" - test -d $cf_subdir_prefix/socks/lib/socks && cf_search="$cf_search $cf_subdir_prefix/socks/lib/socks" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/socks" && cf_search="$cf_search $cf_subdir_prefix/lib/socks" + test -d "$cf_subdir_prefix/lib/socks/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/socks/lib" + test -d "$cf_subdir_prefix/socks/lib" && cf_search="$cf_search $cf_subdir_prefix/socks/lib" + test -d "$cf_subdir_prefix/socks/lib/socks" && cf_search="$cf_search $cf_subdir_prefix/socks/lib/socks" } done @@ -13695,16 +13807,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_socks in $cf_search do - if test -d $cf_cv_library_path_socks ; then + if test -d "$cf_cv_library_path_socks" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_socks" 1>&6 -echo "${as_me:-configure}:13701: testing ... testing $cf_cv_library_path_socks ..." 1>&5 +echo "${as_me:-configure}:13813: testing ... testing $cf_cv_library_path_socks ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lsocks $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_socks" - cat >conftest.$ac_ext <<_ACEOF -#line 13707 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 13819 "configure" #include "confdefs.h" #include <stdio.h> @@ -13719,36 +13831,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:13723: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:13835: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:13726: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:13729: \"$ac_try\"") >&5 + echo "$as_me:13838: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:13841: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13732: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:13844: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found socks library in $cf_cv_library_path_socks" 1>&6 -echo "${as_me:-configure}:13737: testing ... found socks library in $cf_cv_library_path_socks ..." 1>&5 +echo "${as_me:-configure}:13849: testing ... found socks library in $cf_cv_library_path_socks ..." 1>&5 cf_cv_find_linkage_socks=yes cf_cv_library_file_socks="-lsocks" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -13760,10 +13872,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -13772,9 +13884,9 @@ if test "$cf_cv_find_linkage_socks" = yes ; then if test -n "$cf_cv_header_path_socks" ; then for cf_add_incdir in $cf_cv_header_path_socks do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -13795,8 +13907,8 @@ if test -n "$cf_cv_header_path_socks" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 13799 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 13911 "configure" #include "confdefs.h" #include <stdio.h> int @@ -13807,25 +13919,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:13811: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:13923: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:13814: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:13817: \"$ac_try\"") >&5 + echo "$as_me:13926: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:13929: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:13820: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:13932: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -13834,11 +13946,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:13837: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:13949: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -13854,9 +13966,9 @@ fi if test -n "$cf_cv_library_path_socks" ; then for cf_add_libdir in $cf_cv_library_path_socks do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -13870,7 +13982,7 @@ if test -n "$cf_cv_library_path_socks" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:13873: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:13985: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -13895,7 +14007,7 @@ done LIBS="$cf_add_libs" else -{ echo "$as_me:13898: WARNING: Cannot find socks library" >&5 +{ echo "$as_me:14010: WARNING: Cannot find socks library" >&5 echo "$as_me: WARNING: Cannot find socks library" >&2;} fi @@ -13938,7 +14050,7 @@ cat >>confdefs.h <<\EOF EOF else - { { echo "$as_me:13941: error: cannot link with socks library" >&5 + { { echo "$as_me:14053: error: cannot link with socks library" >&5 echo "$as_me: error: cannot link with socks library" >&2;} { (exit 1); exit 1; }; } fi @@ -13953,14 +14065,14 @@ case "$cf_cv_use_libsocks5" in (*) for cf_searchpath in `echo "$cf_cv_use_libsocks5" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -13981,8 +14093,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 13985 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 14097 "configure" #include "confdefs.h" #include <stdio.h> int @@ -13993,25 +14105,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:13997: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:14109: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14000: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14003: \"$ac_try\"") >&5 + echo "$as_me:14112: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:14115: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14006: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14118: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -14020,11 +14132,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:14023: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:14135: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -14037,14 +14149,14 @@ echo "${as_me:-configure}:14023: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -14065,8 +14177,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 14069 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 14181 "configure" #include "confdefs.h" #include <stdio.h> int @@ -14077,25 +14189,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:14081: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:14193: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14084: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14087: \"$ac_try\"") >&5 + echo "$as_me:14196: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:14199: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14090: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14202: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -14104,11 +14216,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:14107: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:14219: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -14122,18 +14234,18 @@ echo "${as_me:-configure}:14107: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:14125: error: cannot find socks5 library under $cf_cv_use_libsocks5" >&5 +{ { echo "$as_me:14237: error: cannot find socks5 library under $cf_cv_use_libsocks5" >&5 echo "$as_me: error: cannot find socks5 library under $cf_cv_use_libsocks5" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -14147,7 +14259,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:14150: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:14262: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -14155,14 +14267,14 @@ echo "${as_me:-configure}:14150: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -14176,7 +14288,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:14179: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:14291: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -14185,7 +14297,7 @@ echo "${as_me:-configure}:14179: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:14188: error: cannot find socks5 library under $cf_cv_use_libsocks5" >&5 +{ { echo "$as_me:14300: error: cannot find socks5 library under $cf_cv_use_libsocks5" >&5 echo "$as_me: error: cannot find socks5 library under $cf_cv_use_libsocks5" >&2;} { (exit 1); exit 1; }; } fi @@ -14218,11 +14330,11 @@ cat >>confdefs.h <<\EOF #define SOCKS 1 EOF -echo "$as_me:14221: checking if the socks library uses socks4 prefix" >&5 +echo "$as_me:14333: checking if the socks library uses socks4 prefix" >&5 echo $ECHO_N "checking if the socks library uses socks4 prefix... $ECHO_C" >&6 cf_use_socks4=error -cat >conftest.$ac_ext <<_ACEOF -#line 14225 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 14337 "configure" #include "confdefs.h" #include <socks.h> @@ -14235,18 +14347,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14239: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14351: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14242: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14245: \"$ac_try\"") >&5 + echo "$as_me:14354: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:14357: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14248: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14360: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cat >>confdefs.h <<\EOF #define USE_SOCKS4_PREFIX 1 @@ -14255,9 +14367,9 @@ EOF cf_use_socks4=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 14260 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 14372 "configure" #include "confdefs.h" #include <socks.h> int @@ -14268,30 +14380,30 @@ SOCKSinit((char *)0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14272: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14384: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14275: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14278: \"$ac_try\"") >&5 + echo "$as_me:14387: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:14390: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14281: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14393: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_use_socks4=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:14287: error: Cannot link with socks5 library" >&5 +cat "conftest.$ac_ext" >&5 +{ { echo "$as_me:14399: error: Cannot link with socks5 library" >&5 echo "$as_me: error: Cannot link with socks5 library" >&2;} { (exit 1); exit 1; }; } fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -echo "$as_me:14294: result: $cf_use_socks4" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +echo "$as_me:14406: result: $cf_use_socks4" >&5 echo "${ECHO_T}$cf_use_socks4" >&6 if test "$cf_use_socks4" = "yes" ; then @@ -14346,10 +14458,10 @@ EOF fi -echo "$as_me:14349: checking if socks5p.h is available" >&5 +echo "$as_me:14461: checking if socks5p.h is available" >&5 echo $ECHO_N "checking if socks5p.h is available... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line 14352 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 14464 "configure" #include "confdefs.h" #define INCLUDE_PROTOTYPES @@ -14363,26 +14475,26 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:14367: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:14479: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:14370: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:14373: \"$ac_try\"") >&5 + echo "$as_me:14482: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:14485: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14376: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14488: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_use_socks5p_h=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_use_socks5p_h=no fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:14385: result: $cf_use_socks5p_h" >&5 +rm -f "conftest.$ac_objext" "conftest.$ac_ext" +echo "$as_me:14497: result: $cf_use_socks5p_h" >&5 echo "${ECHO_T}$cf_use_socks5p_h" >&6 test "$cf_use_socks5p_h" = yes && @@ -14394,43 +14506,43 @@ else cf_test_netlibs=no -echo "$as_me:14397: checking for network libraries" >&5 +echo "$as_me:14509: checking for network libraries" >&5 echo $ECHO_N "checking for network libraries... $ECHO_C" >&6 if test "${cf_cv_netlibs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -echo "$as_me:14404: result: working..." >&5 +echo "$as_me:14516: result: working..." >&5 echo "${ECHO_T}working..." >&6 cf_cv_netlibs="" cf_test_netlibs=yes -case $host_os in +case "$host_os" in (mingw*) for ac_header in windows.h winsock.h winsock2.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:14416: checking for $ac_header" >&5 +echo "$as_me:14528: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 14422 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 14534 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:14426: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:14538: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:14432: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:14544: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -14443,14 +14555,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:14451: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:14563: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -14482,8 +14594,8 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" - cat >conftest.$ac_ext <<_ACEOF -#line 14486 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 14598 "configure" #include "confdefs.h" #ifdef HAVE_WINDOWS_H @@ -14509,27 +14621,27 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14513: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14625: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14516: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14519: \"$ac_try\"") >&5 + echo "$as_me:14628: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:14631: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14522: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14634: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_netlibs="$cf_winsock_lib $cf_cv_netlibs" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -{ { echo "$as_me:14528: error: Cannot link against winsock library" >&5 +cat "conftest.$ac_ext" >&5 +{ { echo "$as_me:14640: error: Cannot link against winsock library" >&5 echo "$as_me: error: Cannot link against winsock library" >&2;} { (exit 1); exit 1; }; } fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" ;; @@ -14538,13 +14650,13 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext for ac_func in gethostname do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:14541: checking for $ac_func" >&5 +echo "$as_me:14653: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 14547 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 14659 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -14574,44 +14686,44 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14578: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14690: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14581: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14584: \"$ac_try\"") >&5 + echo "$as_me:14693: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:14696: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14587: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14699: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:14597: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:14709: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF else -echo "$as_me:14606: checking for gethostname in -lnsl" >&5 +echo "$as_me:14718: checking for gethostname in -lnsl" >&5 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $cf_cv_netlibs $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 14614 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 14726 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -14629,30 +14741,30 @@ gethostname (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14633: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14745: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14636: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14639: \"$ac_try\"") >&5 + echo "$as_me:14748: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:14751: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14642: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14754: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_nsl_gethostname=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_nsl_gethostname=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:14653: result: $ac_cv_lib_nsl_gethostname" >&5 +echo "$as_me:14765: result: $ac_cv_lib_nsl_gethostname" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6 -if test $ac_cv_lib_nsl_gethostname = yes; then +if test "$ac_cv_lib_nsl_gethostname" = yes; then cf_tr_func=`echo "gethostname" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -14667,15 +14779,15 @@ else ac_cv_func_gethostname=unknown unset ac_cv_func_gethostname 2>/dev/null -echo "$as_me:14670: checking for gethostname in -lsocket" >&5 +echo "$as_me:14782: checking for gethostname in -lsocket" >&5 echo $ECHO_N "checking for gethostname in -lsocket... $ECHO_C" >&6 if test "${ac_cv_lib_socket_gethostname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $cf_cv_netlibs $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 14678 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 14790 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -14693,30 +14805,30 @@ gethostname (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14697: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14809: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14700: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14703: \"$ac_try\"") >&5 + echo "$as_me:14812: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:14815: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14706: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14818: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_socket_gethostname=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_socket_gethostname=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:14717: result: $ac_cv_lib_socket_gethostname" >&5 +echo "$as_me:14829: result: $ac_cv_lib_socket_gethostname" >&5 echo "${ECHO_T}$ac_cv_lib_socket_gethostname" >&6 -if test $ac_cv_lib_socket_gethostname = yes; then +if test "$ac_cv_lib_socket_gethostname" = yes; then cf_tr_func=`echo "gethostname" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -14738,15 +14850,15 @@ fi fi done - echo "$as_me:14741: checking for main in -linet" >&5 + echo "$as_me:14853: checking for main in -linet" >&5 echo $ECHO_N "checking for main in -linet... $ECHO_C" >&6 if test "${ac_cv_lib_inet_main+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-linet $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 14749 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 14861 "configure" #include "confdefs.h" int @@ -14757,30 +14869,30 @@ main (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14761: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14873: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14764: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14767: \"$ac_try\"") >&5 + echo "$as_me:14876: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:14879: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14770: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14882: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_inet_main=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_inet_main=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:14781: result: $ac_cv_lib_inet_main" >&5 +echo "$as_me:14893: result: $ac_cv_lib_inet_main" >&5 echo "${ECHO_T}$ac_cv_lib_inet_main" >&6 -if test $ac_cv_lib_inet_main = yes; then +if test "$ac_cv_lib_inet_main" = yes; then cf_cv_netlibs="-linet $cf_cv_netlibs" fi @@ -14789,13 +14901,13 @@ fi for ac_func in socket do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:14792: checking for $ac_func" >&5 +echo "$as_me:14904: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 14798 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 14910 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -14825,44 +14937,44 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14829: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14941: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14832: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14835: \"$ac_try\"") >&5 + echo "$as_me:14944: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:14947: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14838: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:14950: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:14848: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:14960: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF else -echo "$as_me:14857: checking for socket in -lsocket" >&5 +echo "$as_me:14969: checking for socket in -lsocket" >&5 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 if test "${ac_cv_lib_socket_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $cf_cv_netlibs $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 14865 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 14977 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -14880,30 +14992,30 @@ socket (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14884: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:14996: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14887: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14890: \"$ac_try\"") >&5 + echo "$as_me:14999: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15002: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14893: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15005: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_socket_socket=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_socket_socket=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:14904: result: $ac_cv_lib_socket_socket" >&5 +echo "$as_me:15016: result: $ac_cv_lib_socket_socket" >&5 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 -if test $ac_cv_lib_socket_socket = yes; then +if test "$ac_cv_lib_socket_socket" = yes; then cf_tr_func=`echo "socket" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -14918,15 +15030,15 @@ else ac_cv_func_socket=unknown unset ac_cv_func_socket 2>/dev/null -echo "$as_me:14921: checking for socket in -lbsd" >&5 +echo "$as_me:15033: checking for socket in -lbsd" >&5 echo $ECHO_N "checking for socket in -lbsd... $ECHO_C" >&6 if test "${ac_cv_lib_bsd_socket+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $cf_cv_netlibs $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 14929 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 15041 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -14944,30 +15056,30 @@ socket (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:14948: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15060: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:14951: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:14954: \"$ac_try\"") >&5 + echo "$as_me:15063: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15066: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:14957: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15069: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_bsd_socket=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_bsd_socket=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:14968: result: $ac_cv_lib_bsd_socket" >&5 +echo "$as_me:15080: result: $ac_cv_lib_bsd_socket" >&5 echo "${ECHO_T}$ac_cv_lib_bsd_socket" >&6 -if test $ac_cv_lib_bsd_socket = yes; then +if test "$ac_cv_lib_bsd_socket" = yes; then cf_tr_func=`echo "socket" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -14994,13 +15106,13 @@ done for ac_func in gethostbyname do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:14997: checking for $ac_func" >&5 +echo "$as_me:15109: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 15003 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 15115 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -15030,44 +15142,44 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15034: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15146: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15037: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15040: \"$ac_try\"") >&5 + echo "$as_me:15149: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15152: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15043: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15155: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:15053: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:15165: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF else -echo "$as_me:15062: checking for gethostbyname in -lnsl" >&5 +echo "$as_me:15174: checking for gethostbyname in -lnsl" >&5 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $cf_cv_netlibs $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 15070 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 15182 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -15085,30 +15197,30 @@ gethostbyname (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15089: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15201: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15092: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15095: \"$ac_try\"") >&5 + echo "$as_me:15204: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15207: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15098: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15210: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_nsl_gethostbyname=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_nsl_gethostbyname=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:15109: result: $ac_cv_lib_nsl_gethostbyname" >&5 +echo "$as_me:15221: result: $ac_cv_lib_nsl_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 -if test $ac_cv_lib_nsl_gethostbyname = yes; then +if test "$ac_cv_lib_nsl_gethostbyname" = yes; then cf_tr_func=`echo "gethostbyname" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -15131,13 +15243,13 @@ done for ac_func in inet_ntoa do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:15134: checking for $ac_func" >&5 +echo "$as_me:15246: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 15140 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 15252 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -15167,44 +15279,44 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15171: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15283: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15174: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15177: \"$ac_try\"") >&5 + echo "$as_me:15286: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15289: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15180: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15292: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:15190: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:15302: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF else -echo "$as_me:15199: checking for inet_ntoa in -lnsl" >&5 +echo "$as_me:15311: checking for inet_ntoa in -lnsl" >&5 echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $cf_cv_netlibs $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 15207 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 15319 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -15222,30 +15334,30 @@ inet_ntoa (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15226: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15338: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15229: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15232: \"$ac_try\"") >&5 + echo "$as_me:15341: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15344: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15235: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15347: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_nsl_inet_ntoa=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_nsl_inet_ntoa=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:15246: result: $ac_cv_lib_nsl_inet_ntoa" >&5 +echo "$as_me:15358: result: $ac_cv_lib_nsl_inet_ntoa" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6 -if test $ac_cv_lib_nsl_inet_ntoa = yes; then +if test "$ac_cv_lib_nsl_inet_ntoa" = yes; then cf_tr_func=`echo "inet_ntoa" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -15268,13 +15380,13 @@ done for ac_func in gethostbyname do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:15271: checking for $ac_func" >&5 +echo "$as_me:15383: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 15277 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 15389 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -15304,44 +15416,44 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15308: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15420: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15311: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15314: \"$ac_try\"") >&5 + echo "$as_me:15423: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15426: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15317: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15429: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:15327: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:15439: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF else -echo "$as_me:15336: checking for gethostbyname in -lnetwork" >&5 +echo "$as_me:15448: checking for gethostbyname in -lnetwork" >&5 echo $ECHO_N "checking for gethostbyname in -lnetwork... $ECHO_C" >&6 if test "${ac_cv_lib_network_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnetwork $cf_cv_netlibs $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 15344 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 15456 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -15359,30 +15471,30 @@ gethostbyname (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15363: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15475: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15366: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15369: \"$ac_try\"") >&5 + echo "$as_me:15478: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15481: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15372: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15484: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_network_gethostbyname=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_network_gethostbyname=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:15383: result: $ac_cv_lib_network_gethostbyname" >&5 +echo "$as_me:15495: result: $ac_cv_lib_network_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_network_gethostbyname" >&6 -if test $ac_cv_lib_network_gethostbyname = yes; then +if test "$ac_cv_lib_network_gethostbyname" = yes; then cf_tr_func=`echo "gethostbyname" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -15405,13 +15517,13 @@ done for ac_func in strcasecmp do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:15408: checking for $ac_func" >&5 +echo "$as_me:15520: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 15414 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 15526 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -15441,44 +15553,44 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15445: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15557: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15448: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15451: \"$ac_try\"") >&5 + echo "$as_me:15560: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15563: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15454: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15566: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:15464: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:15576: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF else -echo "$as_me:15473: checking for strcasecmp in -lresolv" >&5 +echo "$as_me:15585: checking for strcasecmp in -lresolv" >&5 echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $cf_cv_netlibs $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 15481 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 15593 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -15496,30 +15608,30 @@ strcasecmp (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15500: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15612: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15503: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15506: \"$ac_try\"") >&5 + echo "$as_me:15615: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15618: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15509: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15621: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_resolv_strcasecmp=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_resolv_strcasecmp=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:15520: result: $ac_cv_lib_resolv_strcasecmp" >&5 +echo "$as_me:15632: result: $ac_cv_lib_resolv_strcasecmp" >&5 echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 -if test $ac_cv_lib_resolv_strcasecmp = yes; then +if test "$ac_cv_lib_resolv_strcasecmp" = yes; then cf_tr_func=`echo "strcasecmp" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -15544,7 +15656,7 @@ esac fi -case $cf_cv_netlibs in +case "$cf_cv_netlibs" in (*ws2_32*) cat >>confdefs.h <<\EOF @@ -15570,18 +15682,18 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" -test $cf_test_netlibs = no && echo "$cf_cv_netlibs" >&6 +test "$cf_test_netlibs" = no && echo "$cf_cv_netlibs" >&6 fi -echo "$as_me:15577: checking for inet_aton function" >&5 +echo "$as_me:15689: checking for inet_aton function" >&5 echo $ECHO_N "checking for inet_aton function... $ECHO_C" >&6 if test "${cf_cv_have_inet_aton+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 15584 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 15696 "configure" #include "confdefs.h" #if defined(__MINGW32__) @@ -15615,27 +15727,27 @@ inet_aton(0, (struct in_addr *)0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15619: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15731: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15622: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15625: \"$ac_try\"") >&5 + echo "$as_me:15734: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15737: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15628: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15740: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_inet_aton=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_inet_aton=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:15638: result: $cf_cv_have_inet_aton" >&5 +echo "$as_me:15750: result: $cf_cv_have_inet_aton" >&5 echo "${ECHO_T}$cf_cv_have_inet_aton" >&6 if test "$cf_cv_have_inet_aton" = yes ; then @@ -15644,14 +15756,14 @@ cat >>confdefs.h <<\EOF EOF else - echo "$as_me:15647: checking for inet_addr function" >&5 + echo "$as_me:15759: checking for inet_addr function" >&5 echo $ECHO_N "checking for inet_addr function... $ECHO_C" >&6 if test "${cf_cv_have_inet_addr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 15654 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 15766 "configure" #include "confdefs.h" #if defined(__MINGW32__) @@ -15685,30 +15797,30 @@ inet_addr(0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15689: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15801: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15692: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15695: \"$ac_try\"") >&5 + echo "$as_me:15804: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15807: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15698: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15810: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_inet_addr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_inet_addr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:15708: result: $cf_cv_have_inet_addr" >&5 +echo "$as_me:15820: result: $cf_cv_have_inet_addr" >&5 echo "${ECHO_T}$cf_cv_have_inet_addr" >&6 if test "$cf_cv_have_inet_addr" = no ; then - echo "$as_me:15711: checking for library with inet_addr" >&5 + echo "$as_me:15823: checking for library with inet_addr" >&5 echo $ECHO_N "checking for library with inet_addr... $ECHO_C" >&6 if test "${cf_cv_lib_inet_addr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15718,8 +15830,8 @@ else for cf_inetlib in -lbind -lresolv do LIBS="$cf_save_LIBS $cf_inetlib" - cat >conftest.$ac_ext <<_ACEOF -#line 15722 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 15834 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> @@ -15734,31 +15846,31 @@ inet_addr(0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:15738: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:15850: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:15741: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:15744: \"$ac_try\"") >&5 + echo "$as_me:15853: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:15856: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:15747: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:15859: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_lib_inet_addr=$cf_inetlib else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_lib_inet_addr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" test "$cf_cv_lib_inet_addr" != no && break done fi -echo "$as_me:15761: result: $cf_cv_lib_inet_addr" >&5 +echo "$as_me:15873: result: $cf_cv_lib_inet_addr" >&5 echo "${ECHO_T}$cf_cv_lib_inet_addr" >&6 if test "$cf_cv_lib_inet_addr" != no ; then @@ -15779,13 +15891,13 @@ done LIBS="$cf_add_libs" else - { echo "$as_me:15782: WARNING: Unable to find library for inet_addr function" >&5 + { echo "$as_me:15894: WARNING: Unable to find library for inet_addr function" >&5 echo "$as_me: WARNING: Unable to find library for inet_addr function" >&2;} fi fi fi -echo "$as_me:15788: checking if you want to use pkg-config" >&5 +echo "$as_me:15900: checking if you want to use pkg-config" >&5 echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6 # Check whether --with-pkg-config or --without-pkg-config was given. @@ -15795,10 +15907,10 @@ if test "${with_pkg_config+set}" = set; then else cf_pkg_config=yes fi; -echo "$as_me:15798: result: $cf_pkg_config" >&5 +echo "$as_me:15910: result: $cf_pkg_config" >&5 echo "${ECHO_T}$cf_pkg_config" >&6 -case $cf_pkg_config in +case "$cf_pkg_config" in (no) PKG_CONFIG=none ;; @@ -15807,7 +15919,7 @@ case $cf_pkg_config in if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -echo "$as_me:15810: checking for $ac_word" >&5 +echo "$as_me:15922: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15824,7 +15936,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word" - echo "$as_me:15827: found $ac_dir/$ac_word" >&5 + echo "$as_me:15939: found $ac_dir/$ac_word" >&5 break fi done @@ -15835,10 +15947,10 @@ fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - echo "$as_me:15838: result: $PKG_CONFIG" >&5 + echo "$as_me:15950: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6 else - echo "$as_me:15841: result: no" >&5 + echo "$as_me:15953: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -15847,7 +15959,7 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -echo "$as_me:15850: checking for $ac_word" >&5 +echo "$as_me:15962: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -15864,7 +15976,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_ac_pt_PKG_CONFIG="$ac_dir/$ac_word" - echo "$as_me:15867: found $ac_dir/$ac_word" >&5 + echo "$as_me:15979: found $ac_dir/$ac_word" >&5 break fi done @@ -15876,10 +15988,10 @@ fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - echo "$as_me:15879: result: $ac_pt_PKG_CONFIG" >&5 + echo "$as_me:15991: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 else - echo "$as_me:15882: result: no" >&5 + echo "$as_me:15994: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -15910,26 +16022,26 @@ case ".$PKG_CONFIG" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval PKG_CONFIG="$PKG_CONFIG" case ".$PKG_CONFIG" in (.NONE/*) - PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%` + PKG_CONFIG=`echo "$PKG_CONFIG" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%` + PKG_CONFIG=`echo "$PKG_CONFIG" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:15925: error: expected a pathname, not \"$PKG_CONFIG\"" >&5 + { { echo "$as_me:16037: error: expected a pathname, not \"$PKG_CONFIG\"" >&5 echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;} { (exit 1); exit 1; }; } ;; esac elif test "x$cf_pkg_config" != xno ; then - { echo "$as_me:15932: WARNING: pkg-config is not installed" >&5 + { echo "$as_me:16044: WARNING: pkg-config is not installed" >&5 echo "$as_me: WARNING: pkg-config is not installed" >&2;} fi @@ -15948,14 +16060,14 @@ case "$cf_cv_use_libssl" in (*) for cf_searchpath in `echo "$cf_cv_use_libssl" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -15976,8 +16088,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 15980 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 16092 "configure" #include "confdefs.h" #include <stdio.h> int @@ -15988,25 +16100,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:15992: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:16104: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:15995: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:15998: \"$ac_try\"") >&5 + echo "$as_me:16107: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:16110: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16001: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:16113: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -16015,11 +16127,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:16018: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:16130: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -16032,14 +16144,14 @@ echo "${as_me:-configure}:16018: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -16060,8 +16172,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 16064 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 16176 "configure" #include "confdefs.h" #include <stdio.h> int @@ -16072,25 +16184,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:16076: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:16188: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16079: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16082: \"$ac_try\"") >&5 + echo "$as_me:16191: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:16194: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16085: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:16197: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -16099,11 +16211,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:16102: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:16214: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -16117,18 +16229,18 @@ echo "${as_me:-configure}:16102: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:16120: error: cannot find ssl library under $cf_cv_use_libssl" >&5 +{ { echo "$as_me:16232: error: cannot find ssl library under $cf_cv_use_libssl" >&5 echo "$as_me: error: cannot find ssl library under $cf_cv_use_libssl" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -16142,7 +16254,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:16145: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:16257: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -16150,14 +16262,14 @@ echo "${as_me:-configure}:16145: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -16171,7 +16283,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:16174: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:16286: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -16180,7 +16292,7 @@ echo "${as_me:-configure}:16174: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:16183: error: cannot find ssl library under $cf_cv_use_libssl" >&5 +{ { echo "$as_me:16295: error: cannot find ssl library under $cf_cv_use_libssl" >&5 echo "$as_me: error: cannot find ssl library under $cf_cv_use_libssl" >&2;} { (exit 1); exit 1; }; } fi @@ -16190,22 +16302,22 @@ done esac if test "x$PKG_CONFIG" != xnone; then - case $cf_cv_use_libssl in + case "$cf_cv_use_libssl" in (no) ;; (yes) # if no explicit directory given, try pkg-config cf_cv_pkg_ssl= for cf_try_package in openssl libssl do - echo "$as_me:16200: checking pkg-config for $cf_try_package" >&5 + echo "$as_me:16312: checking pkg-config for $cf_try_package" >&5 echo $ECHO_N "checking pkg-config for $cf_try_package... $ECHO_C" >&6 if "$PKG_CONFIG" --exists $cf_try_package ; then cf_cv_pkg_ssl=$cf_try_package - echo "$as_me:16204: result: yes" >&5 + echo "$as_me:16316: result: yes" >&5 echo "${ECHO_T}yes" >&6 break else - echo "$as_me:16208: result: no" >&5 + echo "$as_me:16320: result: no" >&5 echo "${ECHO_T}no" >&6 fi done @@ -16233,19 +16345,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_cflags_ssl do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -16264,7 +16376,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -16294,7 +16406,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -16334,7 +16446,7 @@ fi cf_cv_header_path_ssl=/usr/include fi - if test -d $cf_cv_header_path_ssl/openssl ; then + if test -d "$cf_cv_header_path_ssl/openssl" ; then cf_cv_header_path_ssl=$cf_cv_header_path_ssl/openssl fi @@ -16349,7 +16461,7 @@ fi esac test -n "$verbose" && echo " adding $cf_libs_ssl to LIBS" 1>&6 -echo "${as_me:-configure}:16352: testing adding $cf_libs_ssl to LIBS ..." 1>&5 +echo "${as_me:-configure}:16464: testing adding $cf_libs_ssl to LIBS ..." 1>&5 cf_add_libs="$LIBS" # reverse order @@ -16374,7 +16486,7 @@ LIBS="$cf_add_libs" fi if test "$cf_cv_have_ssl" != yes; then - case $host_os in + case "$host_os" in (mingw*) cf_extra_ssl_libs="-lcrypto -lgdi32" ;; @@ -16385,15 +16497,15 @@ LIBS="$cf_add_libs" (*-ldl) ;; (*) - echo "$as_me:16388: checking for dlsym in -ldl" >&5 + echo "$as_me:16500: checking for dlsym in -ldl" >&5 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 if test "${ac_cv_lib_dl_dlsym+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 16396 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 16508 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -16411,30 +16523,30 @@ dlsym (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16415: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:16527: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16418: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16421: \"$ac_try\"") >&5 + echo "$as_me:16530: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:16533: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16424: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:16536: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_dl_dlsym=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_dl_dlsym=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:16435: result: $ac_cv_lib_dl_dlsym" >&5 +echo "$as_me:16547: result: $ac_cv_lib_dl_dlsym" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 -if test $ac_cv_lib_dl_dlsym = yes; then +if test "$ac_cv_lib_dl_dlsym" = yes; then cf_extra_ssl_libs="$cf_extra_ssl_libs -ldl" fi @@ -16448,12 +16560,12 @@ fi cf_cv_header_path_ssl= cf_cv_library_path_ssl= -echo "${as_me:-configure}:16451: testing Starting FIND_LINKAGE(ssl,openssl) ..." 1>&5 +echo "${as_me:-configure}:16563: testing Starting FIND_LINKAGE(ssl,openssl) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 16456 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 16568 "configure" #include "confdefs.h" #include <stdio.h> @@ -16481,18 +16593,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16485: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:16597: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16488: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16491: \"$ac_try\"") >&5 + echo "$as_me:16600: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:16603: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16494: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:16606: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_ssl=yes cf_cv_header_path_ssl=/usr/include @@ -16500,12 +16612,12 @@ if { (eval echo "$as_me:16485: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lssl $cf_extra_ssl_libs $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 16508 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 16620 "configure" #include "confdefs.h" #include <stdio.h> @@ -16533,18 +16645,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16537: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:16649: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16540: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16543: \"$ac_try\"") >&5 + echo "$as_me:16652: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:16655: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16546: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:16658: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_ssl=yes cf_cv_header_path_ssl=/usr/include @@ -16553,16 +16665,16 @@ if { (eval echo "$as_me:16537: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_ssl=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for ssl library" 1>&6 -echo "${as_me:-configure}:16563: testing find linkage for ssl library ..." 1>&5 +echo "${as_me:-configure}:16675: testing find linkage for ssl library ..." 1>&5 -echo "${as_me:-configure}:16565: testing Searching for headers in FIND_LINKAGE(ssl,openssl) ..." 1>&5 +echo "${as_me:-configure}:16677: testing Searching for headers in FIND_LINKAGE(ssl,openssl) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -16574,7 +16686,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -16582,11 +16694,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/openssl && cf_search="$cf_search $cf_header_path/include/openssl" - test -d $cf_header_path/include/openssl/include && cf_search="$cf_search $cf_header_path/include/openssl/include" - test -d $cf_header_path/openssl/include && cf_search="$cf_search $cf_header_path/openssl/include" - test -d $cf_header_path/openssl/include/openssl && cf_search="$cf_search $cf_header_path/openssl/include/openssl" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/openssl" && cf_search="$cf_search $cf_header_path/include/openssl" + test -d "$cf_header_path/include/openssl/include" && cf_search="$cf_search $cf_header_path/include/openssl/include" + test -d "$cf_header_path/openssl/include" && cf_search="$cf_search $cf_header_path/openssl/include" + test -d "$cf_header_path/openssl/include/openssl" && cf_search="$cf_search $cf_header_path/openssl/include/openssl" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -16603,11 +16715,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/openssl && cf_search="$cf_search $prefix/include/openssl" - test -d $prefix/include/openssl/include && cf_search="$cf_search $prefix/include/openssl/include" - test -d $prefix/openssl/include && cf_search="$cf_search $prefix/openssl/include" - test -d $prefix/openssl/include/openssl && cf_search="$cf_search $prefix/openssl/include/openssl" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/openssl" && cf_search="$cf_search $prefix/include/openssl" + test -d "$prefix/include/openssl/include" && cf_search="$cf_search $prefix/include/openssl/include" + test -d "$prefix/openssl/include" && cf_search="$cf_search $prefix/openssl/include" + test -d "$prefix/openssl/include/openssl" && cf_search="$cf_search $prefix/openssl/include/openssl" } for cf_subdir_prefix in \ @@ -16621,13 +16733,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/openssl && cf_search="$cf_search $cf_subdir_prefix/include/openssl" - test -d $cf_subdir_prefix/include/openssl/include && cf_search="$cf_search $cf_subdir_prefix/include/openssl/include" - test -d $cf_subdir_prefix/openssl/include && cf_search="$cf_search $cf_subdir_prefix/openssl/include" - test -d $cf_subdir_prefix/openssl/include/openssl && cf_search="$cf_search $cf_subdir_prefix/openssl/include/openssl" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/openssl" && cf_search="$cf_search $cf_subdir_prefix/include/openssl" + test -d "$cf_subdir_prefix/include/openssl/include" && cf_search="$cf_search $cf_subdir_prefix/include/openssl/include" + test -d "$cf_subdir_prefix/openssl/include" && cf_search="$cf_search $cf_subdir_prefix/openssl/include" + test -d "$cf_subdir_prefix/openssl/include/openssl" && cf_search="$cf_search $cf_subdir_prefix/openssl/include/openssl" } done @@ -16635,33 +16747,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/openssl && cf_search="$cf_search $includedir/openssl" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/openssl" && cf_search="$cf_search $includedir/openssl" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/openssl && cf_search="$cf_search $oldincludedir/openssl" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/openssl" && cf_search="$cf_search $oldincludedir/openssl" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_ssl in $cf_search do - if test -d $cf_cv_header_path_ssl ; then + if test -d "$cf_cv_header_path_ssl" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_ssl" 1>&6 -echo "${as_me:-configure}:16656: testing ... testing $cf_cv_header_path_ssl ..." 1>&5 +echo "${as_me:-configure}:16768: testing ... testing $cf_cv_header_path_ssl ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_ssl" - cat >conftest.$ac_ext <<_ACEOF -#line 16664 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 16776 "configure" #include "confdefs.h" #include <stdio.h> @@ -16689,48 +16801,48 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:16693: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:16805: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16696: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:16699: \"$ac_try\"") >&5 + echo "$as_me:16808: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:16811: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16702: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:16814: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found ssl headers in $cf_cv_header_path_ssl" 1>&6 -echo "${as_me:-configure}:16707: testing ... found ssl headers in $cf_cv_header_path_ssl ..." 1>&5 +echo "${as_me:-configure}:16819: testing ... found ssl headers in $cf_cv_header_path_ssl ..." 1>&5 cf_cv_find_linkage_ssl=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_ssl" = maybe ; then -echo "${as_me:-configure}:16725: testing Searching for ssl library in FIND_LINKAGE(ssl,openssl) ..." 1>&5 +echo "${as_me:-configure}:16837: testing Searching for ssl library in FIND_LINKAGE(ssl,openssl) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lssl $cf_extra_ssl_libs $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 16733 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 16845 "configure" #include "confdefs.h" #include <stdio.h> @@ -16758,29 +16870,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16762: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:16874: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16765: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16768: \"$ac_try\"") >&5 + echo "$as_me:16877: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:16880: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16771: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:16883: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found ssl library in system" 1>&6 -echo "${as_me:-configure}:16776: testing ... found ssl library in system ..." 1>&5 +echo "${as_me:-configure}:16888: testing ... found ssl library in system ..." 1>&5 cf_cv_find_linkage_ssl=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" @@ -16791,7 +16903,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -16799,11 +16911,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/ssl && cf_search="$cf_search $cf_library_path/lib/ssl" - test -d $cf_library_path/lib/ssl/lib && cf_search="$cf_search $cf_library_path/lib/ssl/lib" - test -d $cf_library_path/ssl/lib && cf_search="$cf_search $cf_library_path/ssl/lib" - test -d $cf_library_path/ssl/lib/ssl && cf_search="$cf_search $cf_library_path/ssl/lib/ssl" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/ssl" && cf_search="$cf_search $cf_library_path/lib/ssl" + test -d "$cf_library_path/lib/ssl/lib" && cf_search="$cf_search $cf_library_path/lib/ssl/lib" + test -d "$cf_library_path/ssl/lib" && cf_search="$cf_search $cf_library_path/ssl/lib" + test -d "$cf_library_path/ssl/lib/ssl" && cf_search="$cf_search $cf_library_path/ssl/lib/ssl" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -16818,11 +16930,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/ssl && cf_search="$cf_search $prefix/lib/ssl" - test -d $prefix/lib/ssl/lib && cf_search="$cf_search $prefix/lib/ssl/lib" - test -d $prefix/ssl/lib && cf_search="$cf_search $prefix/ssl/lib" - test -d $prefix/ssl/lib/ssl && cf_search="$cf_search $prefix/ssl/lib/ssl" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/ssl" && cf_search="$cf_search $prefix/lib/ssl" + test -d "$prefix/lib/ssl/lib" && cf_search="$cf_search $prefix/lib/ssl/lib" + test -d "$prefix/ssl/lib" && cf_search="$cf_search $prefix/ssl/lib" + test -d "$prefix/ssl/lib/ssl" && cf_search="$cf_search $prefix/ssl/lib/ssl" } for cf_subdir_prefix in \ @@ -16836,13 +16948,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/ssl && cf_search="$cf_search $cf_subdir_prefix/lib/ssl" - test -d $cf_subdir_prefix/lib/ssl/lib && cf_search="$cf_search $cf_subdir_prefix/lib/ssl/lib" - test -d $cf_subdir_prefix/ssl/lib && cf_search="$cf_search $cf_subdir_prefix/ssl/lib" - test -d $cf_subdir_prefix/ssl/lib/ssl && cf_search="$cf_search $cf_subdir_prefix/ssl/lib/ssl" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/ssl" && cf_search="$cf_search $cf_subdir_prefix/lib/ssl" + test -d "$cf_subdir_prefix/lib/ssl/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/ssl/lib" + test -d "$cf_subdir_prefix/ssl/lib" && cf_search="$cf_search $cf_subdir_prefix/ssl/lib" + test -d "$cf_subdir_prefix/ssl/lib/ssl" && cf_search="$cf_search $cf_subdir_prefix/ssl/lib/ssl" } done @@ -16851,16 +16963,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_ssl in $cf_search do - if test -d $cf_cv_library_path_ssl ; then + if test -d "$cf_cv_library_path_ssl" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_ssl" 1>&6 -echo "${as_me:-configure}:16857: testing ... testing $cf_cv_library_path_ssl ..." 1>&5 +echo "${as_me:-configure}:16969: testing ... testing $cf_cv_library_path_ssl ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lssl $cf_extra_ssl_libs $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_ssl" - cat >conftest.$ac_ext <<_ACEOF -#line 16863 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 16975 "configure" #include "confdefs.h" #include <stdio.h> @@ -16888,36 +17000,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:16892: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:17004: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16895: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:16898: \"$ac_try\"") >&5 + echo "$as_me:17007: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:17010: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16901: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:17013: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found ssl library in $cf_cv_library_path_ssl" 1>&6 -echo "${as_me:-configure}:16906: testing ... found ssl library in $cf_cv_library_path_ssl ..." 1>&5 +echo "${as_me:-configure}:17018: testing ... found ssl library in $cf_cv_library_path_ssl ..." 1>&5 cf_cv_find_linkage_ssl=yes cf_cv_library_file_ssl="-lssl" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -16929,10 +17041,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -16949,9 +17061,9 @@ fi if test -n "$cf_cv_library_path_ssl" ; then for cf_add_libdir in $cf_cv_library_path_ssl do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -16965,7 +17077,7 @@ if test -n "$cf_cv_library_path_ssl" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:16968: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:17080: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -16992,7 +17104,7 @@ done LIBS="$cf_add_libs" if test -n "$cf_cv_header_path_ssl" ; then - case $cf_cv_header_path_ssl in + case "$cf_cv_header_path_ssl" in (/usr/include/openssl) ;; (*) @@ -17000,9 +17112,9 @@ LIBS="$cf_add_libs" if test -n "$cf_cv_header_path_ssl" ; then for cf_add_incdir in $cf_cv_header_path_ssl do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -17023,8 +17135,8 @@ if test -n "$cf_cv_header_path_ssl" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 17027 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 17139 "configure" #include "confdefs.h" #include <stdio.h> int @@ -17035,25 +17147,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:17039: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:17151: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17042: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17045: \"$ac_try\"") >&5 + echo "$as_me:17154: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:17157: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17048: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:17160: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -17062,11 +17174,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:17065: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:17177: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -17095,9 +17207,9 @@ EOF if test -n "$cf_cv_header_path_ssl" ; then test -n "$verbose" && echo " checking ssl header-path $cf_cv_header_path_ssl" 1>&6 -echo "${as_me:-configure}:17098: testing checking ssl header-path $cf_cv_header_path_ssl ..." 1>&5 +echo "${as_me:-configure}:17210: testing checking ssl header-path $cf_cv_header_path_ssl ..." 1>&5 - case $cf_cv_header_path_ssl in + case "$cf_cv_header_path_ssl" in (*/openssl) cat >>confdefs.h <<\EOF @@ -17108,10 +17220,10 @@ EOF esac fi -echo "$as_me:17111: checking for X509 support" >&5 +echo "$as_me:17223: checking for X509 support" >&5 echo $ECHO_N "checking for X509 support... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line 17114 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 17226 "configure" #include "confdefs.h" #include <stdio.h> @@ -17139,26 +17251,26 @@ X509_verify_cert_error_string(X509_STORE_CTX_get_error(NULL)) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17143: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:17255: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17146: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17149: \"$ac_try\"") >&5 + echo "$as_me:17258: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:17261: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17152: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:17264: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_x509_support=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_x509_support=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -echo "$as_me:17161: result: $cf_x509_support" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +echo "$as_me:17273: result: $cf_x509_support" >&5 echo "${ECHO_T}$cf_x509_support" >&6 if test "$cf_x509_support" = yes ; then @@ -17184,14 +17296,14 @@ case "$cf_cv_use_libgnutls" in (*) for cf_searchpath in `echo "$cf_cv_use_libgnutls" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -17212,8 +17324,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 17216 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 17328 "configure" #include "confdefs.h" #include <stdio.h> int @@ -17224,25 +17336,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:17228: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:17340: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17231: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17234: \"$ac_try\"") >&5 + echo "$as_me:17343: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:17346: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17237: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:17349: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -17251,11 +17363,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:17254: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:17366: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -17268,14 +17380,14 @@ echo "${as_me:-configure}:17254: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -17296,8 +17408,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 17300 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 17412 "configure" #include "confdefs.h" #include <stdio.h> int @@ -17308,25 +17420,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:17312: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:17424: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17315: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17318: \"$ac_try\"") >&5 + echo "$as_me:17427: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:17430: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17321: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:17433: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -17335,11 +17447,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:17338: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:17450: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -17353,18 +17465,18 @@ echo "${as_me:-configure}:17338: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:17356: error: cannot find ssl library under $cf_cv_use_libgnutls" >&5 +{ { echo "$as_me:17468: error: cannot find ssl library under $cf_cv_use_libgnutls" >&5 echo "$as_me: error: cannot find ssl library under $cf_cv_use_libgnutls" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -17378,7 +17490,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:17381: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:17493: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -17386,14 +17498,14 @@ echo "${as_me:-configure}:17381: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -17407,7 +17519,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:17410: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:17522: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -17416,7 +17528,7 @@ echo "${as_me:-configure}:17410: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:17419: error: cannot find ssl library under $cf_cv_use_libgnutls" >&5 +{ { echo "$as_me:17531: error: cannot find ssl library under $cf_cv_use_libgnutls" >&5 echo "$as_me: error: cannot find ssl library under $cf_cv_use_libgnutls" >&2;} { (exit 1); exit 1; }; } fi @@ -17428,18 +17540,18 @@ esac cf_pkg_gnutls=none if test "x$PKG_CONFIG" != xnone; then cf_pkg_gnutls=gnutls - case $cf_cv_use_libgnutls in + case "$cf_cv_use_libgnutls" in (no) ;; (yes) # if no explicit directory given, try pkg-config test -n "$verbose" && echo " checking pkg-config for $cf_pkg_gnutls" 1>&6 -echo "${as_me:-configure}:17437: testing checking pkg-config for $cf_pkg_gnutls ..." 1>&5 +echo "${as_me:-configure}:17549: testing checking pkg-config for $cf_pkg_gnutls ..." 1>&5 if "$PKG_CONFIG" --exists $cf_pkg_gnutls ; then test -n "$verbose" && echo " ... found $cf_pkg_gnutls in pkg-config" 1>&6 -echo "${as_me:-configure}:17442: testing ... found $cf_pkg_gnutls in pkg-config ..." 1>&5 +echo "${as_me:-configure}:17554: testing ... found $cf_pkg_gnutls in pkg-config ..." 1>&5 cf_cv_have_gnutls=yes cf_cv_pkg_config_ssl=yes @@ -17456,7 +17568,7 @@ echo "${as_me:-configure}:17442: testing ... found $cf_pkg_gnutls in pkg-config cf_cv_header_path_gnutls=/usr/include ;; esac - if test -d $cf_cv_header_path_gnutls/gnutls ; then + if test -d "$cf_cv_header_path_gnutls/gnutls" ; then cf_cv_header_path_gnutls=$cf_cv_header_path_gnutls/gnutls fi @@ -17467,19 +17579,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_cflags_ssl do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -17498,7 +17610,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -17528,7 +17640,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -17571,7 +17683,7 @@ fi esac test -n "$verbose" && echo " adding $cf_libs_ssl to LIBS" 1>&6 -echo "${as_me:-configure}:17574: testing adding $cf_libs_ssl to LIBS ..." 1>&5 +echo "${as_me:-configure}:17686: testing adding $cf_libs_ssl to LIBS ..." 1>&5 cf_add_libs="$LIBS" # reverse order @@ -17593,7 +17705,7 @@ LIBS="$cf_add_libs" else test -n "$verbose" && echo " ... did not find $cf_pkg_gnutls in pkg-config" 1>&6 -echo "${as_me:-configure}:17596: testing ... did not find $cf_pkg_gnutls in pkg-config ..." 1>&5 +echo "${as_me:-configure}:17708: testing ... did not find $cf_pkg_gnutls in pkg-config ..." 1>&5 cf_pkg_gnutls=none fi @@ -17613,12 +17725,12 @@ EOF cf_cv_header_path_gnutls= cf_cv_library_path_gnutls= -echo "${as_me:-configure}:17616: testing Starting FIND_LINKAGE(gnutls,) ..." 1>&5 +echo "${as_me:-configure}:17728: testing Starting FIND_LINKAGE(gnutls,) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 17621 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 17733 "configure" #include "confdefs.h" #include <stdio.h> @@ -17646,18 +17758,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17650: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:17762: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17653: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17656: \"$ac_try\"") >&5 + echo "$as_me:17765: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:17768: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17659: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:17771: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_gnutls=yes cf_cv_header_path_gnutls=/usr/include @@ -17665,12 +17777,12 @@ if { (eval echo "$as_me:17650: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lgnutls $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 17673 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 17785 "configure" #include "confdefs.h" #include <stdio.h> @@ -17698,18 +17810,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17702: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:17814: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17705: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17708: \"$ac_try\"") >&5 + echo "$as_me:17817: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:17820: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17711: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:17823: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_gnutls=yes cf_cv_header_path_gnutls=/usr/include @@ -17718,16 +17830,16 @@ if { (eval echo "$as_me:17702: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_gnutls=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for gnutls library" 1>&6 -echo "${as_me:-configure}:17728: testing find linkage for gnutls library ..." 1>&5 +echo "${as_me:-configure}:17840: testing find linkage for gnutls library ..." 1>&5 -echo "${as_me:-configure}:17730: testing Searching for headers in FIND_LINKAGE(gnutls,) ..." 1>&5 +echo "${as_me:-configure}:17842: testing Searching for headers in FIND_LINKAGE(gnutls,) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -17739,7 +17851,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -17747,11 +17859,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/gnutls && cf_search="$cf_search $cf_header_path/include/gnutls" - test -d $cf_header_path/include/gnutls/include && cf_search="$cf_search $cf_header_path/include/gnutls/include" - test -d $cf_header_path/gnutls/include && cf_search="$cf_search $cf_header_path/gnutls/include" - test -d $cf_header_path/gnutls/include/gnutls && cf_search="$cf_search $cf_header_path/gnutls/include/gnutls" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/gnutls" && cf_search="$cf_search $cf_header_path/include/gnutls" + test -d "$cf_header_path/include/gnutls/include" && cf_search="$cf_search $cf_header_path/include/gnutls/include" + test -d "$cf_header_path/gnutls/include" && cf_search="$cf_search $cf_header_path/gnutls/include" + test -d "$cf_header_path/gnutls/include/gnutls" && cf_search="$cf_search $cf_header_path/gnutls/include/gnutls" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -17768,11 +17880,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/gnutls && cf_search="$cf_search $prefix/include/gnutls" - test -d $prefix/include/gnutls/include && cf_search="$cf_search $prefix/include/gnutls/include" - test -d $prefix/gnutls/include && cf_search="$cf_search $prefix/gnutls/include" - test -d $prefix/gnutls/include/gnutls && cf_search="$cf_search $prefix/gnutls/include/gnutls" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/gnutls" && cf_search="$cf_search $prefix/include/gnutls" + test -d "$prefix/include/gnutls/include" && cf_search="$cf_search $prefix/include/gnutls/include" + test -d "$prefix/gnutls/include" && cf_search="$cf_search $prefix/gnutls/include" + test -d "$prefix/gnutls/include/gnutls" && cf_search="$cf_search $prefix/gnutls/include/gnutls" } for cf_subdir_prefix in \ @@ -17786,13 +17898,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/gnutls && cf_search="$cf_search $cf_subdir_prefix/include/gnutls" - test -d $cf_subdir_prefix/include/gnutls/include && cf_search="$cf_search $cf_subdir_prefix/include/gnutls/include" - test -d $cf_subdir_prefix/gnutls/include && cf_search="$cf_search $cf_subdir_prefix/gnutls/include" - test -d $cf_subdir_prefix/gnutls/include/gnutls && cf_search="$cf_search $cf_subdir_prefix/gnutls/include/gnutls" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/gnutls" && cf_search="$cf_search $cf_subdir_prefix/include/gnutls" + test -d "$cf_subdir_prefix/include/gnutls/include" && cf_search="$cf_search $cf_subdir_prefix/include/gnutls/include" + test -d "$cf_subdir_prefix/gnutls/include" && cf_search="$cf_search $cf_subdir_prefix/gnutls/include" + test -d "$cf_subdir_prefix/gnutls/include/gnutls" && cf_search="$cf_search $cf_subdir_prefix/gnutls/include/gnutls" } done @@ -17800,33 +17912,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/gnutls && cf_search="$cf_search $includedir/gnutls" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/gnutls" && cf_search="$cf_search $includedir/gnutls" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/gnutls && cf_search="$cf_search $oldincludedir/gnutls" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/gnutls" && cf_search="$cf_search $oldincludedir/gnutls" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_gnutls in $cf_search do - if test -d $cf_cv_header_path_gnutls ; then + if test -d "$cf_cv_header_path_gnutls" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_gnutls" 1>&6 -echo "${as_me:-configure}:17821: testing ... testing $cf_cv_header_path_gnutls ..." 1>&5 +echo "${as_me:-configure}:17933: testing ... testing $cf_cv_header_path_gnutls ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_gnutls" - cat >conftest.$ac_ext <<_ACEOF -#line 17829 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 17941 "configure" #include "confdefs.h" #include <stdio.h> @@ -17854,40 +17966,40 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:17858: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:17970: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17861: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:17864: \"$ac_try\"") >&5 + echo "$as_me:17973: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:17976: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17867: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:17979: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found gnutls headers in $cf_cv_header_path_gnutls" 1>&6 -echo "${as_me:-configure}:17872: testing ... found gnutls headers in $cf_cv_header_path_gnutls ..." 1>&5 +echo "${as_me:-configure}:17984: testing ... found gnutls headers in $cf_cv_header_path_gnutls ..." 1>&5 cf_cv_find_linkage_gnutls=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_gnutls" = maybe ; then -echo "${as_me:-configure}:17890: testing Searching for gnutls library in FIND_LINKAGE(gnutls,) ..." 1>&5 +echo "${as_me:-configure}:18002: testing Searching for gnutls library in FIND_LINKAGE(gnutls,) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" @@ -17899,7 +18011,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -17907,11 +18019,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/gnutls && cf_search="$cf_search $cf_library_path/lib/gnutls" - test -d $cf_library_path/lib/gnutls/lib && cf_search="$cf_search $cf_library_path/lib/gnutls/lib" - test -d $cf_library_path/gnutls/lib && cf_search="$cf_search $cf_library_path/gnutls/lib" - test -d $cf_library_path/gnutls/lib/gnutls && cf_search="$cf_search $cf_library_path/gnutls/lib/gnutls" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/gnutls" && cf_search="$cf_search $cf_library_path/lib/gnutls" + test -d "$cf_library_path/lib/gnutls/lib" && cf_search="$cf_search $cf_library_path/lib/gnutls/lib" + test -d "$cf_library_path/gnutls/lib" && cf_search="$cf_search $cf_library_path/gnutls/lib" + test -d "$cf_library_path/gnutls/lib/gnutls" && cf_search="$cf_search $cf_library_path/gnutls/lib/gnutls" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -17926,11 +18038,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/gnutls && cf_search="$cf_search $prefix/lib/gnutls" - test -d $prefix/lib/gnutls/lib && cf_search="$cf_search $prefix/lib/gnutls/lib" - test -d $prefix/gnutls/lib && cf_search="$cf_search $prefix/gnutls/lib" - test -d $prefix/gnutls/lib/gnutls && cf_search="$cf_search $prefix/gnutls/lib/gnutls" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/gnutls" && cf_search="$cf_search $prefix/lib/gnutls" + test -d "$prefix/lib/gnutls/lib" && cf_search="$cf_search $prefix/lib/gnutls/lib" + test -d "$prefix/gnutls/lib" && cf_search="$cf_search $prefix/gnutls/lib" + test -d "$prefix/gnutls/lib/gnutls" && cf_search="$cf_search $prefix/gnutls/lib/gnutls" } for cf_subdir_prefix in \ @@ -17944,13 +18056,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/gnutls && cf_search="$cf_search $cf_subdir_prefix/lib/gnutls" - test -d $cf_subdir_prefix/lib/gnutls/lib && cf_search="$cf_search $cf_subdir_prefix/lib/gnutls/lib" - test -d $cf_subdir_prefix/gnutls/lib && cf_search="$cf_search $cf_subdir_prefix/gnutls/lib" - test -d $cf_subdir_prefix/gnutls/lib/gnutls && cf_search="$cf_search $cf_subdir_prefix/gnutls/lib/gnutls" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/gnutls" && cf_search="$cf_search $cf_subdir_prefix/lib/gnutls" + test -d "$cf_subdir_prefix/lib/gnutls/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/gnutls/lib" + test -d "$cf_subdir_prefix/gnutls/lib" && cf_search="$cf_search $cf_subdir_prefix/gnutls/lib" + test -d "$cf_subdir_prefix/gnutls/lib/gnutls" && cf_search="$cf_search $cf_subdir_prefix/gnutls/lib/gnutls" } done @@ -17959,16 +18071,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_gnutls in $cf_search do - if test -d $cf_cv_library_path_gnutls ; then + if test -d "$cf_cv_library_path_gnutls" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_gnutls" 1>&6 -echo "${as_me:-configure}:17965: testing ... testing $cf_cv_library_path_gnutls ..." 1>&5 +echo "${as_me:-configure}:18077: testing ... testing $cf_cv_library_path_gnutls ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lgnutls $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_gnutls" - cat >conftest.$ac_ext <<_ACEOF -#line 17971 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 18083 "configure" #include "confdefs.h" #include <stdio.h> @@ -17996,36 +18108,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18000: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:18112: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18003: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18006: \"$ac_try\"") >&5 + echo "$as_me:18115: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:18118: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18009: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:18121: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found gnutls library in $cf_cv_library_path_gnutls" 1>&6 -echo "${as_me:-configure}:18014: testing ... found gnutls library in $cf_cv_library_path_gnutls ..." 1>&5 +echo "${as_me:-configure}:18126: testing ... found gnutls library in $cf_cv_library_path_gnutls ..." 1>&5 cf_cv_find_linkage_gnutls=yes cf_cv_library_file_gnutls="-lgnutls" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -18037,10 +18149,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -18059,7 +18171,7 @@ fi #define USE_SSL 1 EOF - case $cf_cv_header_path_gnutls in + case "$cf_cv_header_path_gnutls" in (/usr/include/gnutls) ;; (*) @@ -18067,9 +18179,9 @@ EOF if test -n "$cf_cv_header_path_gnutls" ; then for cf_add_incdir in $cf_cv_header_path_gnutls do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -18090,8 +18202,8 @@ if test -n "$cf_cv_header_path_gnutls" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 18094 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 18206 "configure" #include "confdefs.h" #include <stdio.h> int @@ -18102,25 +18214,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:18106: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:18218: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18109: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18112: \"$ac_try\"") >&5 + echo "$as_me:18221: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:18224: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18115: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:18227: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -18129,11 +18241,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:18132: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:18244: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -18154,9 +18266,9 @@ fi if test -n "$cf_cv_library_path_gnutls" ; then for cf_add_libdir in $cf_cv_library_path_gnutls do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -18170,7 +18282,7 @@ if test -n "$cf_cv_library_path_gnutls" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:18173: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:18285: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -18199,13 +18311,13 @@ LIBS="$cf_add_libs" for ac_func in gnutls_protocol_set_priority do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:18202: checking for $ac_func" >&5 +echo "$as_me:18314: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 18208 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 18320 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -18235,29 +18347,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18239: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:18351: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18242: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18245: \"$ac_try\"") >&5 + echo "$as_me:18354: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:18357: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18248: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:18360: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:18258: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:18370: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -18265,13 +18377,13 @@ EOF fi done - echo "$as_me:18268: checking for gnutls_rnd" >&5 + echo "$as_me:18380: checking for gnutls_rnd" >&5 echo $ECHO_N "checking for gnutls_rnd... $ECHO_C" >&6 if test "${ac_cv_func_gnutls_rnd+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 18274 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 18386 "configure" #include "confdefs.h" #define gnutls_rnd autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -18301,29 +18413,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18305: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:18417: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18308: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18311: \"$ac_try\"") >&5 + echo "$as_me:18420: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:18423: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18314: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:18426: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_gnutls_rnd=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_gnutls_rnd=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:18324: result: $ac_cv_func_gnutls_rnd" >&5 +echo "$as_me:18436: result: $ac_cv_func_gnutls_rnd" >&5 echo "${ECHO_T}$ac_cv_func_gnutls_rnd" >&6 -if test $ac_cv_func_gnutls_rnd = yes; then +if test "$ac_cv_func_gnutls_rnd" = yes; then cat >>confdefs.h <<\EOF #define HAVE_GNUTLS_RND 1 @@ -18351,10 +18463,10 @@ fi EXTRA_OBJS="$EXTRA_OBJS tidy_tls\$o" -echo "$as_me:18354: checking for X509 support" >&5 +echo "$as_me:18466: checking for X509 support" >&5 echo $ECHO_N "checking for X509 support... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line 18357 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 18469 "configure" #include "confdefs.h" #include <stdio.h> @@ -18382,26 +18494,26 @@ X509_verify_cert_error_string(X509_STORE_CTX_get_error(NULL)) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18386: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:18498: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18389: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18392: \"$ac_try\"") >&5 + echo "$as_me:18501: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:18504: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18395: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:18507: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_x509_support=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_x509_support=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -echo "$as_me:18404: result: $cf_x509_support" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +echo "$as_me:18516: result: $cf_x509_support" >&5 echo "${ECHO_T}$cf_x509_support" >&6 if test "$cf_x509_support" = yes ; then @@ -18426,14 +18538,14 @@ case "$cf_cv_use_libgnutls" in (*) for cf_searchpath in `echo "$cf_cv_use_libgnutls" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -18454,8 +18566,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 18458 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 18570 "configure" #include "confdefs.h" #include <stdio.h> int @@ -18466,25 +18578,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:18470: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:18582: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18473: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18476: \"$ac_try\"") >&5 + echo "$as_me:18585: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:18588: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18479: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:18591: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -18493,11 +18605,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:18496: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:18608: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -18510,14 +18622,14 @@ echo "${as_me:-configure}:18496: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -18538,8 +18650,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 18542 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 18654 "configure" #include "confdefs.h" #include <stdio.h> int @@ -18550,25 +18662,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:18554: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:18666: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18557: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18560: \"$ac_try\"") >&5 + echo "$as_me:18669: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:18672: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18563: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:18675: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -18577,11 +18689,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:18580: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:18692: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -18595,18 +18707,18 @@ echo "${as_me:-configure}:18580: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:18598: error: cannot find ssl library under $cf_cv_use_libgnutls" >&5 +{ { echo "$as_me:18710: error: cannot find ssl library under $cf_cv_use_libgnutls" >&5 echo "$as_me: error: cannot find ssl library under $cf_cv_use_libgnutls" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -18620,7 +18732,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:18623: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:18735: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -18628,14 +18740,14 @@ echo "${as_me:-configure}:18623: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -18649,7 +18761,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:18652: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:18764: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -18658,7 +18770,7 @@ echo "${as_me:-configure}:18652: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:18661: error: cannot find ssl library under $cf_cv_use_libgnutls" >&5 +{ { echo "$as_me:18773: error: cannot find ssl library under $cf_cv_use_libgnutls" >&5 echo "$as_me: error: cannot find ssl library under $cf_cv_use_libgnutls" >&2;} { (exit 1); exit 1; }; } fi @@ -18670,18 +18782,18 @@ esac cf_pkg_gnutls=none if test "x$PKG_CONFIG" != xnone; then cf_pkg_gnutls=gnutls-openssl - case $cf_cv_use_libgnutls in + case "$cf_cv_use_libgnutls" in (no) ;; (yes) # if no explicit directory given, try pkg-config test -n "$verbose" && echo " checking pkg-config for $cf_pkg_gnutls" 1>&6 -echo "${as_me:-configure}:18679: testing checking pkg-config for $cf_pkg_gnutls ..." 1>&5 +echo "${as_me:-configure}:18791: testing checking pkg-config for $cf_pkg_gnutls ..." 1>&5 if "$PKG_CONFIG" --exists $cf_pkg_gnutls ; then test -n "$verbose" && echo " ... found $cf_pkg_gnutls in pkg-config" 1>&6 -echo "${as_me:-configure}:18684: testing ... found $cf_pkg_gnutls in pkg-config ..." 1>&5 +echo "${as_me:-configure}:18796: testing ... found $cf_pkg_gnutls in pkg-config ..." 1>&5 cf_cv_have_gnutls=yes cf_cv_pkg_config_ssl=yes @@ -18698,7 +18810,7 @@ echo "${as_me:-configure}:18684: testing ... found $cf_pkg_gnutls in pkg-config cf_cv_header_path_gnutls=/usr/include ;; esac - if test -d $cf_cv_header_path_gnutls/gnutls ; then + if test -d "$cf_cv_header_path_gnutls/gnutls" ; then cf_cv_header_path_gnutls=$cf_cv_header_path_gnutls/gnutls fi @@ -18709,19 +18821,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_cflags_ssl do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -18740,7 +18852,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -18770,7 +18882,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -18813,7 +18925,7 @@ fi esac test -n "$verbose" && echo " adding $cf_libs_ssl to LIBS" 1>&6 -echo "${as_me:-configure}:18816: testing adding $cf_libs_ssl to LIBS ..." 1>&5 +echo "${as_me:-configure}:18928: testing adding $cf_libs_ssl to LIBS ..." 1>&5 cf_add_libs="$LIBS" # reverse order @@ -18835,7 +18947,7 @@ LIBS="$cf_add_libs" else test -n "$verbose" && echo " ... did not find $cf_pkg_gnutls in pkg-config" 1>&6 -echo "${as_me:-configure}:18838: testing ... did not find $cf_pkg_gnutls in pkg-config ..." 1>&5 +echo "${as_me:-configure}:18950: testing ... did not find $cf_pkg_gnutls in pkg-config ..." 1>&5 cf_pkg_gnutls=none fi @@ -18855,12 +18967,12 @@ EOF cf_cv_header_path_gnutls= cf_cv_library_path_gnutls= -echo "${as_me:-configure}:18858: testing Starting FIND_LINKAGE(gnutls,) ..." 1>&5 +echo "${as_me:-configure}:18970: testing Starting FIND_LINKAGE(gnutls,) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 18863 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 18975 "configure" #include "confdefs.h" #include <stdio.h> @@ -18888,18 +19000,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18892: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19004: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18895: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18898: \"$ac_try\"") >&5 + echo "$as_me:19007: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19010: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18901: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19013: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_gnutls=yes cf_cv_header_path_gnutls=/usr/include @@ -18907,12 +19019,12 @@ if { (eval echo "$as_me:18892: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lgnutls -lgnutls-openssl $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 18915 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 19027 "configure" #include "confdefs.h" #include <stdio.h> @@ -18940,18 +19052,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:18944: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19056: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18947: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:18950: \"$ac_try\"") >&5 + echo "$as_me:19059: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19062: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18953: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19065: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_gnutls=yes cf_cv_header_path_gnutls=/usr/include @@ -18960,16 +19072,16 @@ if { (eval echo "$as_me:18944: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_gnutls=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for gnutls library" 1>&6 -echo "${as_me:-configure}:18970: testing find linkage for gnutls library ..." 1>&5 +echo "${as_me:-configure}:19082: testing find linkage for gnutls library ..." 1>&5 -echo "${as_me:-configure}:18972: testing Searching for headers in FIND_LINKAGE(gnutls,) ..." 1>&5 +echo "${as_me:-configure}:19084: testing Searching for headers in FIND_LINKAGE(gnutls,) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -18981,7 +19093,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -18989,11 +19101,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/gnutls && cf_search="$cf_search $cf_header_path/include/gnutls" - test -d $cf_header_path/include/gnutls/include && cf_search="$cf_search $cf_header_path/include/gnutls/include" - test -d $cf_header_path/gnutls/include && cf_search="$cf_search $cf_header_path/gnutls/include" - test -d $cf_header_path/gnutls/include/gnutls && cf_search="$cf_search $cf_header_path/gnutls/include/gnutls" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/gnutls" && cf_search="$cf_search $cf_header_path/include/gnutls" + test -d "$cf_header_path/include/gnutls/include" && cf_search="$cf_search $cf_header_path/include/gnutls/include" + test -d "$cf_header_path/gnutls/include" && cf_search="$cf_search $cf_header_path/gnutls/include" + test -d "$cf_header_path/gnutls/include/gnutls" && cf_search="$cf_search $cf_header_path/gnutls/include/gnutls" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -19010,11 +19122,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/gnutls && cf_search="$cf_search $prefix/include/gnutls" - test -d $prefix/include/gnutls/include && cf_search="$cf_search $prefix/include/gnutls/include" - test -d $prefix/gnutls/include && cf_search="$cf_search $prefix/gnutls/include" - test -d $prefix/gnutls/include/gnutls && cf_search="$cf_search $prefix/gnutls/include/gnutls" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/gnutls" && cf_search="$cf_search $prefix/include/gnutls" + test -d "$prefix/include/gnutls/include" && cf_search="$cf_search $prefix/include/gnutls/include" + test -d "$prefix/gnutls/include" && cf_search="$cf_search $prefix/gnutls/include" + test -d "$prefix/gnutls/include/gnutls" && cf_search="$cf_search $prefix/gnutls/include/gnutls" } for cf_subdir_prefix in \ @@ -19028,13 +19140,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/gnutls && cf_search="$cf_search $cf_subdir_prefix/include/gnutls" - test -d $cf_subdir_prefix/include/gnutls/include && cf_search="$cf_search $cf_subdir_prefix/include/gnutls/include" - test -d $cf_subdir_prefix/gnutls/include && cf_search="$cf_search $cf_subdir_prefix/gnutls/include" - test -d $cf_subdir_prefix/gnutls/include/gnutls && cf_search="$cf_search $cf_subdir_prefix/gnutls/include/gnutls" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/gnutls" && cf_search="$cf_search $cf_subdir_prefix/include/gnutls" + test -d "$cf_subdir_prefix/include/gnutls/include" && cf_search="$cf_search $cf_subdir_prefix/include/gnutls/include" + test -d "$cf_subdir_prefix/gnutls/include" && cf_search="$cf_search $cf_subdir_prefix/gnutls/include" + test -d "$cf_subdir_prefix/gnutls/include/gnutls" && cf_search="$cf_search $cf_subdir_prefix/gnutls/include/gnutls" } done @@ -19042,33 +19154,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/gnutls && cf_search="$cf_search $includedir/gnutls" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/gnutls" && cf_search="$cf_search $includedir/gnutls" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/gnutls && cf_search="$cf_search $oldincludedir/gnutls" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/gnutls" && cf_search="$cf_search $oldincludedir/gnutls" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_gnutls in $cf_search do - if test -d $cf_cv_header_path_gnutls ; then + if test -d "$cf_cv_header_path_gnutls" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_gnutls" 1>&6 -echo "${as_me:-configure}:19063: testing ... testing $cf_cv_header_path_gnutls ..." 1>&5 +echo "${as_me:-configure}:19175: testing ... testing $cf_cv_header_path_gnutls ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_gnutls" - cat >conftest.$ac_ext <<_ACEOF -#line 19071 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 19183 "configure" #include "confdefs.h" #include <stdio.h> @@ -19096,40 +19208,40 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:19100: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:19212: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19103: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19106: \"$ac_try\"") >&5 + echo "$as_me:19215: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:19218: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19109: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19221: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found gnutls headers in $cf_cv_header_path_gnutls" 1>&6 -echo "${as_me:-configure}:19114: testing ... found gnutls headers in $cf_cv_header_path_gnutls ..." 1>&5 +echo "${as_me:-configure}:19226: testing ... found gnutls headers in $cf_cv_header_path_gnutls ..." 1>&5 cf_cv_find_linkage_gnutls=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_gnutls" = maybe ; then -echo "${as_me:-configure}:19132: testing Searching for gnutls library in FIND_LINKAGE(gnutls,) ..." 1>&5 +echo "${as_me:-configure}:19244: testing Searching for gnutls library in FIND_LINKAGE(gnutls,) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" @@ -19141,7 +19253,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -19149,11 +19261,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/gnutls && cf_search="$cf_search $cf_library_path/lib/gnutls" - test -d $cf_library_path/lib/gnutls/lib && cf_search="$cf_search $cf_library_path/lib/gnutls/lib" - test -d $cf_library_path/gnutls/lib && cf_search="$cf_search $cf_library_path/gnutls/lib" - test -d $cf_library_path/gnutls/lib/gnutls && cf_search="$cf_search $cf_library_path/gnutls/lib/gnutls" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/gnutls" && cf_search="$cf_search $cf_library_path/lib/gnutls" + test -d "$cf_library_path/lib/gnutls/lib" && cf_search="$cf_search $cf_library_path/lib/gnutls/lib" + test -d "$cf_library_path/gnutls/lib" && cf_search="$cf_search $cf_library_path/gnutls/lib" + test -d "$cf_library_path/gnutls/lib/gnutls" && cf_search="$cf_search $cf_library_path/gnutls/lib/gnutls" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -19168,11 +19280,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/gnutls && cf_search="$cf_search $prefix/lib/gnutls" - test -d $prefix/lib/gnutls/lib && cf_search="$cf_search $prefix/lib/gnutls/lib" - test -d $prefix/gnutls/lib && cf_search="$cf_search $prefix/gnutls/lib" - test -d $prefix/gnutls/lib/gnutls && cf_search="$cf_search $prefix/gnutls/lib/gnutls" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/gnutls" && cf_search="$cf_search $prefix/lib/gnutls" + test -d "$prefix/lib/gnutls/lib" && cf_search="$cf_search $prefix/lib/gnutls/lib" + test -d "$prefix/gnutls/lib" && cf_search="$cf_search $prefix/gnutls/lib" + test -d "$prefix/gnutls/lib/gnutls" && cf_search="$cf_search $prefix/gnutls/lib/gnutls" } for cf_subdir_prefix in \ @@ -19186,13 +19298,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/gnutls && cf_search="$cf_search $cf_subdir_prefix/lib/gnutls" - test -d $cf_subdir_prefix/lib/gnutls/lib && cf_search="$cf_search $cf_subdir_prefix/lib/gnutls/lib" - test -d $cf_subdir_prefix/gnutls/lib && cf_search="$cf_search $cf_subdir_prefix/gnutls/lib" - test -d $cf_subdir_prefix/gnutls/lib/gnutls && cf_search="$cf_search $cf_subdir_prefix/gnutls/lib/gnutls" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/gnutls" && cf_search="$cf_search $cf_subdir_prefix/lib/gnutls" + test -d "$cf_subdir_prefix/lib/gnutls/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/gnutls/lib" + test -d "$cf_subdir_prefix/gnutls/lib" && cf_search="$cf_search $cf_subdir_prefix/gnutls/lib" + test -d "$cf_subdir_prefix/gnutls/lib/gnutls" && cf_search="$cf_search $cf_subdir_prefix/gnutls/lib/gnutls" } done @@ -19201,16 +19313,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_gnutls in $cf_search do - if test -d $cf_cv_library_path_gnutls ; then + if test -d "$cf_cv_library_path_gnutls" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_gnutls" 1>&6 -echo "${as_me:-configure}:19207: testing ... testing $cf_cv_library_path_gnutls ..." 1>&5 +echo "${as_me:-configure}:19319: testing ... testing $cf_cv_library_path_gnutls ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lgnutls -lgnutls-openssl $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_gnutls" - cat >conftest.$ac_ext <<_ACEOF -#line 19213 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 19325 "configure" #include "confdefs.h" #include <stdio.h> @@ -19238,36 +19350,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19242: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19354: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19245: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19248: \"$ac_try\"") >&5 + echo "$as_me:19357: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19360: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19251: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19363: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found gnutls library in $cf_cv_library_path_gnutls" 1>&6 -echo "${as_me:-configure}:19256: testing ... found gnutls library in $cf_cv_library_path_gnutls ..." 1>&5 +echo "${as_me:-configure}:19368: testing ... found gnutls library in $cf_cv_library_path_gnutls ..." 1>&5 cf_cv_find_linkage_gnutls=yes cf_cv_library_file_gnutls="-lgnutls" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -19279,10 +19391,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -19301,7 +19413,7 @@ fi #define USE_SSL 1 EOF - case $cf_cv_header_path_gnutls in + case "$cf_cv_header_path_gnutls" in (/usr/include/gnutls) ;; (*) @@ -19309,9 +19421,9 @@ EOF if test -n "$cf_cv_header_path_gnutls" ; then for cf_add_incdir in $cf_cv_header_path_gnutls do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -19332,8 +19444,8 @@ if test -n "$cf_cv_header_path_gnutls" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 19336 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 19448 "configure" #include "confdefs.h" #include <stdio.h> int @@ -19344,25 +19456,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:19348: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:19460: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19351: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19354: \"$ac_try\"") >&5 + echo "$as_me:19463: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:19466: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19357: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19469: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -19371,11 +19483,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:19374: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:19486: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -19396,9 +19508,9 @@ fi if test -n "$cf_cv_library_path_gnutls" ; then for cf_add_libdir in $cf_cv_library_path_gnutls do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -19412,7 +19524,7 @@ if test -n "$cf_cv_library_path_gnutls" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:19415: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:19527: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -19441,13 +19553,13 @@ LIBS="$cf_add_libs" for ac_func in gnutls_protocol_set_priority do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:19444: checking for $ac_func" >&5 +echo "$as_me:19556: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 19450 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 19562 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -19477,29 +19589,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19481: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19593: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19484: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19487: \"$ac_try\"") >&5 + echo "$as_me:19596: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19599: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19490: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19602: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:19500: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:19612: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -19507,13 +19619,13 @@ EOF fi done - echo "$as_me:19510: checking for gnutls_rnd" >&5 + echo "$as_me:19622: checking for gnutls_rnd" >&5 echo $ECHO_N "checking for gnutls_rnd... $ECHO_C" >&6 if test "${ac_cv_func_gnutls_rnd+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 19516 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 19628 "configure" #include "confdefs.h" #define gnutls_rnd autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -19543,29 +19655,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19547: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19659: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19550: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19553: \"$ac_try\"") >&5 + echo "$as_me:19662: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19665: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19556: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19668: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_gnutls_rnd=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_gnutls_rnd=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:19566: result: $ac_cv_func_gnutls_rnd" >&5 +echo "$as_me:19678: result: $ac_cv_func_gnutls_rnd" >&5 echo "${ECHO_T}$ac_cv_func_gnutls_rnd" >&6 -if test $ac_cv_func_gnutls_rnd = yes; then +if test "$ac_cv_func_gnutls_rnd" = yes; then cat >>confdefs.h <<\EOF #define HAVE_GNUTLS_RND 1 @@ -19592,15 +19704,15 @@ LIBS="$cf_add_libs" fi if test "$cf_pkg_gnutls" = none ; then - echo "$as_me:19595: checking for SSL_connect in -lgnutls-openssl" >&5 + echo "$as_me:19707: checking for SSL_connect in -lgnutls-openssl" >&5 echo $ECHO_N "checking for SSL_connect in -lgnutls-openssl... $ECHO_C" >&6 if test "${ac_cv_lib_gnutls_openssl_SSL_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgnutls-openssl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 19603 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 19715 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19618,30 +19730,30 @@ SSL_connect (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19622: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19734: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19625: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19628: \"$ac_try\"") >&5 + echo "$as_me:19737: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19740: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19631: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19743: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_gnutls_openssl_SSL_connect=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_gnutls_openssl_SSL_connect=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19642: result: $ac_cv_lib_gnutls_openssl_SSL_connect" >&5 +echo "$as_me:19754: result: $ac_cv_lib_gnutls_openssl_SSL_connect" >&5 echo "${ECHO_T}$ac_cv_lib_gnutls_openssl_SSL_connect" >&6 -if test $ac_cv_lib_gnutls_openssl_SSL_connect = yes; then +if test "$ac_cv_lib_gnutls_openssl_SSL_connect" = yes; then cf_add_libs="$LIBS" # reverse order @@ -19660,15 +19772,15 @@ done LIBS="$cf_add_libs" else - echo "$as_me:19663: checking for SSL_connect in -lgnutls-extra" >&5 + echo "$as_me:19775: checking for SSL_connect in -lgnutls-extra" >&5 echo $ECHO_N "checking for SSL_connect in -lgnutls-extra... $ECHO_C" >&6 if test "${ac_cv_lib_gnutls_extra_SSL_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgnutls-extra $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 19671 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 19783 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19686,30 +19798,30 @@ SSL_connect (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19690: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19802: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19693: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19696: \"$ac_try\"") >&5 + echo "$as_me:19805: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19808: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19699: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19811: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_gnutls_extra_SSL_connect=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_gnutls_extra_SSL_connect=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19710: result: $ac_cv_lib_gnutls_extra_SSL_connect" >&5 +echo "$as_me:19822: result: $ac_cv_lib_gnutls_extra_SSL_connect" >&5 echo "${ECHO_T}$ac_cv_lib_gnutls_extra_SSL_connect" >&6 -if test $ac_cv_lib_gnutls_extra_SSL_connect = yes; then +if test "$ac_cv_lib_gnutls_extra_SSL_connect" = yes; then cf_add_libs="$LIBS" # reverse order @@ -19728,7 +19840,7 @@ done LIBS="$cf_add_libs" else - { { echo "$as_me:19731: error: cannot find gnutls openssl functions" >&5 + { { echo "$as_me:19843: error: cannot find gnutls openssl functions" >&5 echo "$as_me: error: cannot find gnutls openssl functions" >&2;} { (exit 1); exit 1; }; } fi @@ -19737,10 +19849,10 @@ fi fi -echo "$as_me:19740: checking for X509 support" >&5 +echo "$as_me:19852: checking for X509 support" >&5 echo $ECHO_N "checking for X509 support... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line 19743 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 19855 "configure" #include "confdefs.h" #include <stdio.h> @@ -19768,26 +19880,26 @@ X509_verify_cert_error_string(X509_STORE_CTX_get_error(NULL)) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19772: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19884: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19775: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19778: \"$ac_try\"") >&5 + echo "$as_me:19887: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19890: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19781: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19893: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_x509_support=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_x509_support=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -echo "$as_me:19790: result: $cf_x509_support" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +echo "$as_me:19902: result: $cf_x509_support" >&5 echo "${ECHO_T}$cf_x509_support" >&6 if test "$cf_x509_support" = yes ; then @@ -19819,15 +19931,15 @@ case "$cf_cv_use_libnss_compat" in ;; (yes) -echo "$as_me:19822: checking for SSL_get_version in -lnss_compat_ossl" >&5 +echo "$as_me:19934: checking for SSL_get_version in -lnss_compat_ossl" >&5 echo $ECHO_N "checking for SSL_get_version in -lnss_compat_ossl... $ECHO_C" >&6 if test "${ac_cv_lib_nss_compat_ossl_SSL_get_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnss_compat_ossl -lnss_compat_ossl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 19830 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 19942 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19845,30 +19957,30 @@ SSL_get_version (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:19849: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:19961: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19852: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:19855: \"$ac_try\"") >&5 + echo "$as_me:19964: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:19967: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19858: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:19970: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_nss_compat_ossl_SSL_get_version=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_nss_compat_ossl_SSL_get_version=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19869: result: $ac_cv_lib_nss_compat_ossl_SSL_get_version" >&5 +echo "$as_me:19981: result: $ac_cv_lib_nss_compat_ossl_SSL_get_version" >&5 echo "${ECHO_T}$ac_cv_lib_nss_compat_ossl_SSL_get_version" >&6 -if test $ac_cv_lib_nss_compat_ossl_SSL_get_version = yes; then +if test "$ac_cv_lib_nss_compat_ossl_SSL_get_version" = yes; then cat >>confdefs.h <<EOF #define HAVE_LIBNSS_COMPAT_OSSL 1 EOF @@ -19878,14 +19990,14 @@ EOF else cf_ssl_root=/usr/local/nss_compat_ossl - if test -d $cf_ssl_root ; then + if test -d "$cf_ssl_root" ; then test -n "$verbose" && echo " assume it is in $cf_ssl_root" 1>&6 -echo "${as_me:-configure}:19884: testing assume it is in $cf_ssl_root ..." 1>&5 +echo "${as_me:-configure}:19996: testing assume it is in $cf_ssl_root ..." 1>&5 cf_ssl_library="-L$cf_ssl_root/lib $cf_ssl_library" else - { { echo "$as_me:19888: error: cannot find NSS compliant libraries" >&5 + { { echo "$as_me:20000: error: cannot find NSS compliant libraries" >&5 echo "$as_me: error: cannot find NSS compliant libraries" >&2;} { (exit 1); exit 1; }; } fi @@ -19894,19 +20006,19 @@ fi ;; (*) - if test -d $cf_cv_use_libnss_compat ; then - if test -d $cf_cv_use_libnss_compat/include ; then + if test -d "$cf_cv_use_libnss_compat" ; then + if test -d "$cf_cv_use_libnss_compat/include" ; then cf_ssl_root=$cf_cv_use_libnss_compat - elif test -d $cf_cv_use_libnss_compat/../include ; then + elif test -d "$cf_cv_use_libnss_compat/../include" ; then cf_ssl_root=$cf_cv_use_libnss_compat/.. else - { { echo "$as_me:19903: error: cannot find NSS compliant library under $cf_cv_use_libnss_compat" >&5 + { { echo "$as_me:20015: error: cannot find NSS compliant library under $cf_cv_use_libnss_compat" >&5 echo "$as_me: error: cannot find NSS compliant library under $cf_cv_use_libnss_compat" >&2;} { (exit 1); exit 1; }; } fi cf_ssl_library="-L$cf_ssl_root/lib $cf_ssl_library" else - { echo "$as_me:19909: WARNING: expected a directory: $cf_cv_use_libnss_compat" >&5 + { echo "$as_me:20021: WARNING: expected a directory: $cf_cv_use_libnss_compat" >&5 echo "$as_me: WARNING: expected a directory: $cf_cv_use_libnss_compat" >&2;} fi ;; @@ -19930,9 +20042,9 @@ LIBS="$cf_add_libs" cf_ssl_subincs=yes if test -n "$cf_ssl_root" ; then - if test -d $cf_ssl_root/include ; then + if test -d "$cf_ssl_root/include" ; then cf_ssl_cflags="-I$cf_ssl_root/include $cf_ssl_cflags" - test -d $cf_ssl_root/include/nss_compat_ossl || cf_ssl_subincs=no + test -d "$cf_ssl_root/include/nss_compat_ossl" || cf_ssl_subincs=no fi fi @@ -19943,19 +20055,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_ssl_cflags do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -19974,7 +20086,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -20004,7 +20116,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -20035,10 +20147,10 @@ if test -n "$cf_new_extra_cppflags" ; then fi if test "$cf_ssl_subincs" = yes ; then -echo "$as_me:20038: checking for NSS compliant include directory" >&5 +echo "$as_me:20150: checking for NSS compliant include directory" >&5 echo $ECHO_N "checking for NSS compliant include directory... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line 20041 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 20153 "configure" #include "confdefs.h" #include <stdio.h> @@ -20051,26 +20163,26 @@ SSL_shutdown((SSL *)0) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:20055: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:20167: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20058: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:20061: \"$ac_try\"") >&5 + echo "$as_me:20170: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:20173: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20064: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:20176: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_ssl_incl=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_ssl_incl=no fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:20073: result: $cf_ssl_incl" >&5 +rm -f "conftest.$ac_objext" "conftest.$ac_ext" +echo "$as_me:20185: result: $cf_ssl_incl" >&5 echo "${ECHO_T}$cf_ssl_incl" >&6 test "$cf_ssl_incl" = yes && cat >>confdefs.h <<\EOF @@ -20079,10 +20191,10 @@ EOF fi -echo "$as_me:20082: checking if we can link to NSS compliant library" >&5 +echo "$as_me:20194: checking if we can link to NSS compliant library" >&5 echo $ECHO_N "checking if we can link to NSS compliant library... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line 20085 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 20197 "configure" #include "confdefs.h" #include <stdio.h> @@ -20100,26 +20212,26 @@ SSL_shutdown((SSL *)0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20104: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:20216: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20107: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20110: \"$ac_try\"") >&5 + echo "$as_me:20219: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:20222: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20113: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:20225: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_ssl_library=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_ssl_library=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -echo "$as_me:20122: result: $cf_ssl_library" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +echo "$as_me:20234: result: $cf_ssl_library" >&5 echo "${ECHO_T}$cf_ssl_library" >&6 if test "$cf_ssl_library" = yes ; then @@ -20132,7 +20244,7 @@ cat >>confdefs.h <<\EOF EOF else - { { echo "$as_me:20135: error: Cannot link with NSS compliant libraries" >&5 + { { echo "$as_me:20247: error: Cannot link with NSS compliant libraries" >&5 echo "$as_me: error: Cannot link with NSS compliant libraries" >&2;} { (exit 1); exit 1; }; } fi @@ -20140,7 +20252,7 @@ fi fi ### check for ipv6 support -echo "$as_me:20143: checking whether to enable ipv6" >&5 +echo "$as_me:20255: checking whether to enable ipv6" >&5 echo $ECHO_N "checking whether to enable ipv6... $ECHO_C" >&6 # Check whether --enable-ipv6 or --disable-ipv6 was given. @@ -20157,11 +20269,11 @@ EOF else enableval=no fi; -echo "$as_me:20160: result: $enableval" >&5 +echo "$as_me:20272: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 if test "$enableval" = "yes"; then -echo "$as_me:20164: checking ipv6 stack type" >&5 +echo "$as_me:20276: checking ipv6 stack type" >&5 echo $ECHO_N "checking ipv6 stack type... $ECHO_C" >&6 if test "${cf_cv_ipv6type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20170,7 +20282,7 @@ else cf_cv_ipv6type=unknown for i in solaris inria kame linux-glibc linux-libinet6 toshiba v6d zeta do - case $i in + case "$i" in (solaris) if test "SunOS" = "`uname -s`" then @@ -20181,8 +20293,8 @@ do fi ;; (inria) - cat >conftest.$ac_ext <<_ACEOF -#line 20185 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20297 "configure" #include "confdefs.h" #include <netinet/in.h> @@ -20191,15 +20303,15 @@ yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then + $EGREP "yes" >/dev/null 2>&1; then cf_cv_ipv6type=$i fi rm -rf conftest* ;; (kame) - cat >conftest.$ac_ext <<_ACEOF -#line 20202 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20314 "configure" #include "confdefs.h" #include <netinet/in.h> @@ -20208,15 +20320,15 @@ yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then + $EGREP "yes" >/dev/null 2>&1; then cf_cv_ipv6type=$i fi rm -rf conftest* ;; (linux-glibc) - cat >conftest.$ac_ext <<_ACEOF -#line 20219 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20331 "configure" #include "confdefs.h" #include <features.h> @@ -20225,7 +20337,7 @@ yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then + $EGREP "yes" >/dev/null 2>&1; then cf_cv_ipv6type=$i fi rm -rf conftest* @@ -20241,8 +20353,8 @@ rm -rf conftest* fi ;; (toshiba) - cat >conftest.$ac_ext <<_ACEOF -#line 20245 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20357 "configure" #include "confdefs.h" #include <sys/param.h> @@ -20251,15 +20363,15 @@ yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then + $EGREP "yes" >/dev/null 2>&1; then cf_cv_ipv6type=$i fi rm -rf conftest* ;; (v6d) - cat >conftest.$ac_ext <<_ACEOF -#line 20262 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20374 "configure" #include "confdefs.h" #include </usr/local/v6/include/sys/v6config.h> @@ -20268,15 +20380,15 @@ yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then + $EGREP "yes" >/dev/null 2>&1; then cf_cv_ipv6type=$i fi rm -rf conftest* ;; (zeta) - cat >conftest.$ac_ext <<_ACEOF -#line 20279 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20391 "configure" #include "confdefs.h" #include <sys/param.h> @@ -20285,7 +20397,7 @@ yes #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "yes" >/dev/null 2>&1; then + $EGREP "yes" >/dev/null 2>&1; then cf_cv_ipv6type=$i fi rm -rf conftest* @@ -20298,15 +20410,15 @@ rm -rf conftest* done fi -echo "$as_me:20301: result: $cf_cv_ipv6type" >&5 +echo "$as_me:20413: result: $cf_cv_ipv6type" >&5 echo "${ECHO_T}$cf_cv_ipv6type" >&6 cf_ipv6lib=none cf_ipv6dir=none -echo "$as_me:20307: checking for IPv6 library if required" >&5 +echo "$as_me:20419: checking for IPv6 library if required" >&5 echo $ECHO_N "checking for IPv6 library if required... $ECHO_C" >&6 -case $cf_cv_ipv6type in +case "$cf_cv_ipv6type" in (solaris) ;; (inria) @@ -20334,13 +20446,13 @@ case $cf_cv_ipv6type in cf_ipv6dir=v6 ;; esac -echo "$as_me:20337: result: $cf_ipv6lib" >&5 +echo "$as_me:20449: result: $cf_ipv6lib" >&5 echo "${ECHO_T}$cf_ipv6lib" >&6 if test "$cf_ipv6lib" != "none"; then - cat >conftest.$ac_ext <<_ACEOF -#line 20343 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20455 "configure" #include "confdefs.h" #include <sys/types.h> @@ -20355,22 +20467,22 @@ getaddrinfo(0, 0, 0, 0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20359: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:20471: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20362: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20365: \"$ac_try\"") >&5 + echo "$as_me:20474: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:20477: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20368: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:20480: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_search= @@ -20379,7 +20491,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -20387,11 +20499,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/$cf_ipv6dir && cf_search="$cf_search $cf_header_path/include/$cf_ipv6dir" - test -d $cf_header_path/include/$cf_ipv6dir/include && cf_search="$cf_search $cf_header_path/include/$cf_ipv6dir/include" - test -d $cf_header_path/$cf_ipv6dir/include && cf_search="$cf_search $cf_header_path/$cf_ipv6dir/include" - test -d $cf_header_path/$cf_ipv6dir/include/$cf_ipv6dir && cf_search="$cf_search $cf_header_path/$cf_ipv6dir/include/$cf_ipv6dir" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/$cf_ipv6dir" && cf_search="$cf_search $cf_header_path/include/$cf_ipv6dir" + test -d "$cf_header_path/include/$cf_ipv6dir/include" && cf_search="$cf_search $cf_header_path/include/$cf_ipv6dir/include" + test -d "$cf_header_path/$cf_ipv6dir/include" && cf_search="$cf_search $cf_header_path/$cf_ipv6dir/include" + test -d "$cf_header_path/$cf_ipv6dir/include/$cf_ipv6dir" && cf_search="$cf_search $cf_header_path/$cf_ipv6dir/include/$cf_ipv6dir" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -20408,11 +20520,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/$cf_ipv6dir && cf_search="$cf_search $prefix/include/$cf_ipv6dir" - test -d $prefix/include/$cf_ipv6dir/include && cf_search="$cf_search $prefix/include/$cf_ipv6dir/include" - test -d $prefix/$cf_ipv6dir/include && cf_search="$cf_search $prefix/$cf_ipv6dir/include" - test -d $prefix/$cf_ipv6dir/include/$cf_ipv6dir && cf_search="$cf_search $prefix/$cf_ipv6dir/include/$cf_ipv6dir" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/$cf_ipv6dir" && cf_search="$cf_search $prefix/include/$cf_ipv6dir" + test -d "$prefix/include/$cf_ipv6dir/include" && cf_search="$cf_search $prefix/include/$cf_ipv6dir/include" + test -d "$prefix/$cf_ipv6dir/include" && cf_search="$cf_search $prefix/$cf_ipv6dir/include" + test -d "$prefix/$cf_ipv6dir/include/$cf_ipv6dir" && cf_search="$cf_search $prefix/$cf_ipv6dir/include/$cf_ipv6dir" } for cf_subdir_prefix in \ @@ -20426,13 +20538,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/$cf_ipv6dir && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ipv6dir" - test -d $cf_subdir_prefix/include/$cf_ipv6dir/include && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ipv6dir/include" - test -d $cf_subdir_prefix/$cf_ipv6dir/include && cf_search="$cf_search $cf_subdir_prefix/$cf_ipv6dir/include" - test -d $cf_subdir_prefix/$cf_ipv6dir/include/$cf_ipv6dir && cf_search="$cf_search $cf_subdir_prefix/$cf_ipv6dir/include/$cf_ipv6dir" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/$cf_ipv6dir" && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ipv6dir" + test -d "$cf_subdir_prefix/include/$cf_ipv6dir/include" && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ipv6dir/include" + test -d "$cf_subdir_prefix/$cf_ipv6dir/include" && cf_search="$cf_search $cf_subdir_prefix/$cf_ipv6dir/include" + test -d "$cf_subdir_prefix/$cf_ipv6dir/include/$cf_ipv6dir" && cf_search="$cf_search $cf_subdir_prefix/$cf_ipv6dir/include/$cf_ipv6dir" } done @@ -20440,15 +20552,15 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/$cf_ipv6dir && cf_search="$cf_search $includedir/$cf_ipv6dir" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/$cf_ipv6dir" && cf_search="$cf_search $includedir/$cf_ipv6dir" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/$cf_ipv6dir && cf_search="$cf_search $oldincludedir/$cf_ipv6dir" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/$cf_ipv6dir" && cf_search="$cf_search $oldincludedir/$cf_ipv6dir" } cf_search="$cf_search $cf_header_path_list" @@ -20456,15 +20568,15 @@ cf_search="$cf_search $cf_header_path_list" for cf_incdir in $cf_search do cf_header=$cf_incdir/netinet/ip6.h - if test -f $cf_header + if test -f "$cf_header" then if test -n "$cf_incdir" ; then for cf_add_incdir in $cf_incdir do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -20485,8 +20597,8 @@ if test -n "$cf_incdir" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 20489 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20601 "configure" #include "confdefs.h" #include <stdio.h> int @@ -20497,25 +20609,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:20501: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:20613: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20504: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:20507: \"$ac_try\"") >&5 + echo "$as_me:20616: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:20619: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20510: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:20622: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -20524,11 +20636,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:20527: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:20639: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -20548,17 +20660,17 @@ fi done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" - eval 'cf_cv_have_lib_'$cf_ipv6lib'=no' + eval 'cf_cv_have_lib_'"$cf_ipv6lib"'=no' cf_libdir="" - echo "$as_me:20555: checking for getaddrinfo" >&5 + echo "$as_me:20667: checking for getaddrinfo" >&5 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6 if test "${ac_cv_func_getaddrinfo+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 20561 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20673 "configure" #include "confdefs.h" #define getaddrinfo autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -20588,38 +20700,38 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20592: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:20704: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20595: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20598: \"$ac_try\"") >&5 + echo "$as_me:20707: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:20710: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20601: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:20713: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_getaddrinfo=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_getaddrinfo=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:20611: result: $ac_cv_func_getaddrinfo" >&5 +echo "$as_me:20723: result: $ac_cv_func_getaddrinfo" >&5 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6 -if test $ac_cv_func_getaddrinfo = yes; then - eval 'cf_cv_have_lib_'$cf_ipv6lib'=yes' +if test "$ac_cv_func_getaddrinfo" = yes; then + eval 'cf_cv_have_lib_'"$cf_ipv6lib"'=yes' else cf_save_LIBS="$LIBS" - echo "$as_me:20618: checking for getaddrinfo in -l$cf_ipv6lib" >&5 + echo "$as_me:20730: checking for getaddrinfo in -l$cf_ipv6lib" >&5 echo $ECHO_N "checking for getaddrinfo in -l$cf_ipv6lib... $ECHO_C" >&6 LIBS="-l$cf_ipv6lib $LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 20622 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20734 "configure" #include "confdefs.h" #include <sys/types.h> @@ -20634,26 +20746,26 @@ getaddrinfo(0, 0, 0, 0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20638: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:20750: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20641: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20644: \"$ac_try\"") >&5 + echo "$as_me:20753: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:20756: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20647: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:20649: result: yes" >&5 + echo "$as_me:20759: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:20761: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'$cf_ipv6lib'=yes' + eval 'cf_cv_have_lib_'"$cf_ipv6lib"'=yes' else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:20656: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:20768: result: no" >&5 echo "${ECHO_T}no" >&6 cf_search= @@ -20661,7 +20773,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -20669,11 +20781,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/$cf_ipv6dir && cf_search="$cf_search $cf_library_path/lib/$cf_ipv6dir" - test -d $cf_library_path/lib/$cf_ipv6dir/lib && cf_search="$cf_search $cf_library_path/lib/$cf_ipv6dir/lib" - test -d $cf_library_path/$cf_ipv6dir/lib && cf_search="$cf_search $cf_library_path/$cf_ipv6dir/lib" - test -d $cf_library_path/$cf_ipv6dir/lib/$cf_ipv6dir && cf_search="$cf_search $cf_library_path/$cf_ipv6dir/lib/$cf_ipv6dir" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/$cf_ipv6dir" && cf_search="$cf_search $cf_library_path/lib/$cf_ipv6dir" + test -d "$cf_library_path/lib/$cf_ipv6dir/lib" && cf_search="$cf_search $cf_library_path/lib/$cf_ipv6dir/lib" + test -d "$cf_library_path/$cf_ipv6dir/lib" && cf_search="$cf_search $cf_library_path/$cf_ipv6dir/lib" + test -d "$cf_library_path/$cf_ipv6dir/lib/$cf_ipv6dir" && cf_search="$cf_search $cf_library_path/$cf_ipv6dir/lib/$cf_ipv6dir" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -20688,11 +20800,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/$cf_ipv6dir && cf_search="$cf_search $prefix/lib/$cf_ipv6dir" - test -d $prefix/lib/$cf_ipv6dir/lib && cf_search="$cf_search $prefix/lib/$cf_ipv6dir/lib" - test -d $prefix/$cf_ipv6dir/lib && cf_search="$cf_search $prefix/$cf_ipv6dir/lib" - test -d $prefix/$cf_ipv6dir/lib/$cf_ipv6dir && cf_search="$cf_search $prefix/$cf_ipv6dir/lib/$cf_ipv6dir" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/$cf_ipv6dir" && cf_search="$cf_search $prefix/lib/$cf_ipv6dir" + test -d "$prefix/lib/$cf_ipv6dir/lib" && cf_search="$cf_search $prefix/lib/$cf_ipv6dir/lib" + test -d "$prefix/$cf_ipv6dir/lib" && cf_search="$cf_search $prefix/$cf_ipv6dir/lib" + test -d "$prefix/$cf_ipv6dir/lib/$cf_ipv6dir" && cf_search="$cf_search $prefix/$cf_ipv6dir/lib/$cf_ipv6dir" } for cf_subdir_prefix in \ @@ -20706,13 +20818,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/$cf_ipv6dir && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_ipv6dir" - test -d $cf_subdir_prefix/lib/$cf_ipv6dir/lib && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_ipv6dir/lib" - test -d $cf_subdir_prefix/$cf_ipv6dir/lib && cf_search="$cf_search $cf_subdir_prefix/$cf_ipv6dir/lib" - test -d $cf_subdir_prefix/$cf_ipv6dir/lib/$cf_ipv6dir && cf_search="$cf_search $cf_subdir_prefix/$cf_ipv6dir/lib/$cf_ipv6dir" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/$cf_ipv6dir" && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_ipv6dir" + test -d "$cf_subdir_prefix/lib/$cf_ipv6dir/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_ipv6dir/lib" + test -d "$cf_subdir_prefix/$cf_ipv6dir/lib" && cf_search="$cf_search $cf_subdir_prefix/$cf_ipv6dir/lib" + test -d "$cf_subdir_prefix/$cf_ipv6dir/lib/$cf_ipv6dir" && cf_search="$cf_search $cf_subdir_prefix/$cf_ipv6dir/lib/$cf_ipv6dir" } done @@ -20721,11 +20833,11 @@ cf_search="$cf_library_path_list $cf_search" for cf_libdir in $cf_search do - echo "$as_me:20724: checking for -l$cf_ipv6lib in $cf_libdir" >&5 + echo "$as_me:20836: checking for -l$cf_ipv6lib in $cf_libdir" >&5 echo $ECHO_N "checking for -l$cf_ipv6lib in $cf_libdir... $ECHO_C" >&6 LIBS="-L$cf_libdir -l$cf_ipv6lib $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 20728 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20840 "configure" #include "confdefs.h" #include <sys/types.h> @@ -20740,41 +20852,41 @@ getaddrinfo(0, 0, 0, 0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:20744: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:20856: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20747: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:20750: \"$ac_try\"") >&5 + echo "$as_me:20859: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:20862: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20753: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:20755: result: yes" >&5 + echo "$as_me:20865: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:20867: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'$cf_ipv6lib'=yes' + eval 'cf_cv_have_lib_'"$cf_ipv6lib"'=yes' break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:20762: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:20874: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_save_LIBS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -eval 'cf_found_library=$cf_cv_have_lib_'$cf_ipv6lib +eval 'cf_found_library="$cf_cv_have_lib_'"$cf_ipv6lib"\" - if test $cf_found_library = no ; then - { { echo "$as_me:20777: error: No $cf_ipv6lib library found, cannot continue. You must fetch lib$cf_ipv6lib.a + if test "$cf_found_library" = no ; then + { { echo "$as_me:20889: error: No $cf_ipv6lib library found, cannot continue. You must fetch lib$cf_ipv6lib.a from an appropriate IPv6 kit and compile beforehand." >&5 echo "$as_me: error: No $cf_ipv6lib library found, cannot continue. You must fetch lib$cf_ipv6lib.a from an appropriate IPv6 kit and compile beforehand." >&2;} @@ -20782,7 +20894,7 @@ from an appropriate IPv6 kit and compile beforehand." >&2;} fi fi -echo "$as_me:20785: checking working getaddrinfo" >&5 +echo "$as_me:20897: checking working getaddrinfo" >&5 echo $ECHO_N "checking working getaddrinfo... $ECHO_C" >&6 if test "${cf_cv_getaddrinfo+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20791,8 +20903,8 @@ else if test "$cross_compiling" = yes; then cf_cv_getaddrinfo=unknown else - cat >conftest.$ac_ext <<_ACEOF -#line 20795 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 20907 "configure" #include "confdefs.h" #include <sys/types.h> @@ -20871,29 +20983,29 @@ int main(void) } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:20875: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:20987: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20878: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:20880: \"$ac_try\"") >&5 + echo "$as_me:20990: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:20992: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20883: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:20995: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_getaddrinfo=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_getaddrinfo=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:20896: result: $cf_cv_getaddrinfo" >&5 +echo "$as_me:21008: result: $cf_cv_getaddrinfo" >&5 echo "${ECHO_T}$cf_cv_getaddrinfo" >&6 if test "$cf_cv_getaddrinfo" = yes ; then @@ -20909,12 +21021,12 @@ fi if test "$cf_cv_getaddrinfo" != "yes"; then if test "$cf_cv_ipv6type" != "linux"; then - { echo "$as_me:20912: WARNING: You must get working getaddrinfo() function, + { echo "$as_me:21024: WARNING: You must get working getaddrinfo() function, or you can specify \"--disable-ipv6\"" >&5 echo "$as_me: WARNING: You must get working getaddrinfo() function, or you can specify \"--disable-ipv6\"" >&2;} else - { echo "$as_me:20917: WARNING: The getaddrinfo() implementation on your system seems be buggy. + { echo "$as_me:21029: WARNING: The getaddrinfo() implementation on your system seems be buggy. You should upgrade your system library to the newest version of GNU C library (aka glibc)." >&5 echo "$as_me: WARNING: The getaddrinfo() implementation on your system seems be buggy. @@ -20925,7 +21037,7 @@ fi fi -echo "$as_me:20928: checking for screen type" >&5 +echo "$as_me:21040: checking for screen type" >&5 echo $ECHO_N "checking for screen type... $ECHO_C" >&6 if test "${cf_cv_screen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20935,11 +21047,11 @@ else if test "${with_screen+set}" = set; then withval="$with_screen" -case $withval in +case "$withval" in (curses|ncurses*|pdcurses|slang) cf_cv_screen=$withval ;; -(*) { { echo "$as_me:20942: error: Unexpected value $withval" >&5 +(*) { { echo "$as_me:21054: error: Unexpected value $withval" >&5 echo "$as_me: error: Unexpected value $withval" >&2;} { (exit 1); exit 1; }; } ;; @@ -20948,13 +21060,13 @@ else cf_cv_screen=curses fi; fi -echo "$as_me:20951: result: $cf_cv_screen" >&5 +echo "$as_me:21063: result: $cf_cv_screen" >&5 echo "${ECHO_T}$cf_cv_screen" >&6 -case $cf_cv_screen in +case "$cf_cv_screen" in (curses|ncurses*) -echo "$as_me:20957: checking for specific curses-directory" >&5 +echo "$as_me:21069: checking for specific curses-directory" >&5 echo $ECHO_N "checking for specific curses-directory... $ECHO_C" >&6 # Check whether --with-curses-dir or --without-curses-dir was given. @@ -20964,10 +21076,10 @@ if test "${with_curses_dir+set}" = set; then else cf_cv_curses_dir=no fi; -echo "$as_me:20967: result: $cf_cv_curses_dir" >&5 +echo "$as_me:21079: result: $cf_cv_curses_dir" >&5 echo "${ECHO_T}$cf_cv_curses_dir" >&6 -if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" ) +if test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" then if test "x$prefix" != xNONE; then @@ -20983,19 +21095,19 @@ case ".$withval" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval withval="$withval" case ".$withval" in (.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:20998: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:21110: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -21007,9 +21119,9 @@ esac if test -n "$cf_cv_curses_dir/include" ; then for cf_add_incdir in $cf_cv_curses_dir/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -21030,8 +21142,8 @@ if test -n "$cf_cv_curses_dir/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 21034 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 21146 "configure" #include "confdefs.h" #include <stdio.h> int @@ -21042,25 +21154,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:21046: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:21158: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21049: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:21052: \"$ac_try\"") >&5 + echo "$as_me:21161: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:21164: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21055: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:21167: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -21069,11 +21181,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:21072: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:21184: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -21089,9 +21201,9 @@ fi if test -n "$cf_cv_curses_dir/lib" ; then for cf_add_libdir in $cf_cv_curses_dir/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -21105,7 +21217,7 @@ if test -n "$cf_cv_curses_dir/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:21108: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:21220: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -21121,17 +21233,17 @@ esac cf_wide_curses=no dft_color_style=yes -case $cf_cv_screen in +case "$cf_cv_screen" in (curses) -echo "$as_me:21127: checking for extra include directories" >&5 +echo "$as_me:21239: checking for extra include directories" >&5 echo $ECHO_N "checking for extra include directories... $ECHO_C" >&6 if test "${cf_cv_curses_incdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cf_cv_curses_incdir=no -case $host_os in +case "$host_os" in (hpux10.*) if test "x$cf_cv_screen" = "xcurses_colr" then @@ -21150,7 +21262,7 @@ case $host_os in esac fi -echo "$as_me:21153: result: $cf_cv_curses_incdir" >&5 +echo "$as_me:21265: result: $cf_cv_curses_incdir" >&5 echo "${ECHO_T}$cf_cv_curses_incdir" >&6 if test "$cf_cv_curses_incdir" != no then @@ -21160,7 +21272,7 @@ then fi -echo "$as_me:21163: checking if we have identified curses headers" >&5 +echo "$as_me:21275: checking if we have identified curses headers" >&5 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 if test "${cf_cv_ncurses_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21171,8 +21283,8 @@ for cf_header in \ ncurses.h \ curses.h ncurses/ncurses.h ncurses/curses.h do -cat >conftest.$ac_ext <<_ACEOF -#line 21175 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 21287 "configure" #include "confdefs.h" #include <${cf_header}> int @@ -21183,32 +21295,32 @@ initscr(); tgoto("?", 0,0) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:21187: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:21299: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21190: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:21193: \"$ac_try\"") >&5 + echo "$as_me:21302: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:21305: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21196: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:21308: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_header=$cf_header; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:21207: result: $cf_cv_ncurses_header" >&5 +echo "$as_me:21319: result: $cf_cv_ncurses_header" >&5 echo "${ECHO_T}$cf_cv_ncurses_header" >&6 if test "$cf_cv_ncurses_header" = none ; then - { { echo "$as_me:21211: error: No curses header-files found" >&5 + { { echo "$as_me:21323: error: No curses header-files found" >&5 echo "$as_me: error: No curses header-files found" >&2;} { (exit 1); exit 1; }; } fi @@ -21218,24 +21330,24 @@ fi for ac_header in $cf_cv_ncurses_header do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:21221: checking for $ac_header" >&5 +echo "$as_me:21333: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 21227 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 21339 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:21231: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:21343: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:21237: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:21349: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -21248,14 +21360,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:21256: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:21368: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -21263,13 +21375,13 @@ EOF fi done -echo "$as_me:21266: checking for terminfo header" >&5 +echo "$as_me:21378: checking for terminfo header" >&5 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 if test "${cf_cv_term_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -case ${cf_cv_ncurses_header} in +case "${cf_cv_ncurses_header}" in (*/ncurses.h|*/ncursesw.h) cf_term_header=`echo "$cf_cv_ncurses_header" | sed -e 's%ncurses[^.]*\.h$%term.h%'` ;; @@ -21280,8 +21392,8 @@ esac for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" do -cat >conftest.$ac_ext <<_ACEOF -#line 21284 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 21396 "configure" #include "confdefs.h" #include <stdio.h> #include <${cf_cv_ncurses_header:-curses.h}> @@ -21295,38 +21407,38 @@ int x = auto_left_margin; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:21299: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:21411: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21302: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:21305: \"$ac_try\"") >&5 + echo "$as_me:21414: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:21417: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21308: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:21420: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_term_header="$cf_test" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_term_header=unknown fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" test "$cf_cv_term_header" != unknown && break done fi -echo "$as_me:21324: result: $cf_cv_term_header" >&5 +echo "$as_me:21436: result: $cf_cv_term_header" >&5 echo "${ECHO_T}$cf_cv_term_header" >&6 # Set definitions to allow ifdef'ing to accommodate subdirectories -case $cf_cv_term_header in +case "$cf_cv_term_header" in (*term.h) cat >>confdefs.h <<\EOF @@ -21336,7 +21448,7 @@ EOF ;; esac -case $cf_cv_term_header in +case "$cf_cv_term_header" in (ncurses/term.h) cat >>confdefs.h <<\EOF @@ -21353,7 +21465,7 @@ EOF ;; esac -echo "$as_me:21356: checking for ncurses version" >&5 +echo "$as_me:21468: checking for ncurses version" >&5 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 if test "${cf_cv_ncurses_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21361,12 +21473,12 @@ else cf_cv_ncurses_version=no cf_tempfile=out$$ - rm -f $cf_tempfile + rm -f "$cf_tempfile" if test "$cross_compiling" = yes; then # This will not work if the preprocessor splits the line after the # Autoconf token. The 'unproto' program does that. - cat > conftest.$ac_ext <<EOF + cat > "conftest.$ac_ext" <<EOF #include <${cf_cv_ncurses_header:-curses.h}> #undef Autoconf #ifdef NCURSES_VERSION @@ -21379,20 +21491,20 @@ Autoconf "old" #endif EOF cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" - { (eval echo "$as_me:21382: \"$cf_try\"") >&5 + { (eval echo "$as_me:21494: \"$cf_try\"") >&5 (eval $cf_try) 2>&5 ac_status=$? - echo "$as_me:21385: \$? = $ac_status" >&5 - (exit $ac_status); } + echo "$as_me:21497: \$? = $ac_status" >&5 + (exit "$ac_status"); } if test -f conftest.out ; then - cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'` + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` test -n "$cf_out" && cf_cv_ncurses_version="$cf_out" rm -f conftest.out fi else - cat >conftest.$ac_ext <<_ACEOF -#line 21395 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 21507 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -21402,13 +21514,13 @@ int main(void) FILE *fp = fopen("$cf_tempfile", "w"); #ifdef NCURSES_VERSION # ifdef NCURSES_VERSION_PATCH - fprintf(fp, "%s.%d\n", NCURSES_VERSION, NCURSES_VERSION_PATCH); + fprintf(fp, "%s.%d\\n", NCURSES_VERSION, NCURSES_VERSION_PATCH); # else - fprintf(fp, "%s\n", NCURSES_VERSION); + fprintf(fp, "%s\\n", NCURSES_VERSION); # endif #else # ifdef __NCURSES_H - fprintf(fp, "old\n"); + fprintf(fp, "old\\n"); # else make an error # endif @@ -21416,40 +21528,40 @@ int main(void) ${cf_cv_main_return:-return}(0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:21420: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:21532: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21423: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:21425: \"$ac_try\"") >&5 + echo "$as_me:21535: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:21537: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21428: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:21540: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_version=`cat $cf_tempfile` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi - rm -f $cf_tempfile + rm -f "$cf_tempfile" fi -echo "$as_me:21442: result: $cf_cv_ncurses_version" >&5 +echo "$as_me:21554: result: $cf_cv_ncurses_version" >&5 echo "${ECHO_T}$cf_cv_ncurses_version" >&6 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF #define NCURSES 1 EOF -echo "$as_me:21449: checking if we have identified curses libraries" >&5 +echo "$as_me:21561: checking if we have identified curses libraries" >&5 echo $ECHO_N "checking if we have identified curses libraries... $ECHO_C" >&6 -cat >conftest.$ac_ext <<_ACEOF -#line 21452 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 21564 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -21460,40 +21572,40 @@ initscr(); tgoto("?", 0,0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21464: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:21576: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21467: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21470: \"$ac_try\"") >&5 + echo "$as_me:21579: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:21582: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21473: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:21585: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -echo "$as_me:21482: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +echo "$as_me:21594: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = no ; then -case $host_os in +case "$host_os" in (freebsd*) - echo "$as_me:21488: checking for tgoto in -lmytinfo" >&5 + echo "$as_me:21600: checking for tgoto in -lmytinfo" >&5 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lmytinfo $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 21496 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 21608 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21511,30 +21623,30 @@ tgoto (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21515: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:21627: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21518: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21521: \"$ac_try\"") >&5 + echo "$as_me:21630: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:21633: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21524: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:21636: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_mytinfo_tgoto=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_mytinfo_tgoto=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21535: result: $ac_cv_lib_mytinfo_tgoto" >&5 +echo "$as_me:21647: result: $ac_cv_lib_mytinfo_tgoto" >&5 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 -if test $ac_cv_lib_mytinfo_tgoto = yes; then +if test "$ac_cv_lib_mytinfo_tgoto" = yes; then cf_add_libs="$LIBS" # reverse order @@ -21562,15 +21674,15 @@ fi # term.h) for cur_colr if test "x$cf_cv_screen" = "xcurses_colr" then - echo "$as_me:21565: checking for initscr in -lcur_colr" >&5 + echo "$as_me:21677: checking for initscr in -lcur_colr" >&5 echo $ECHO_N "checking for initscr in -lcur_colr... $ECHO_C" >&6 if test "${ac_cv_lib_cur_colr_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcur_colr $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 21573 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 21685 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21588,30 +21700,30 @@ initscr (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21592: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:21704: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21595: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21598: \"$ac_try\"") >&5 + echo "$as_me:21707: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:21710: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21601: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:21713: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_cur_colr_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_cur_colr_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21612: result: $ac_cv_lib_cur_colr_initscr" >&5 +echo "$as_me:21724: result: $ac_cv_lib_cur_colr_initscr" >&5 echo "${ECHO_T}$ac_cv_lib_cur_colr_initscr" >&6 -if test $ac_cv_lib_cur_colr_initscr = yes; then +if test "$ac_cv_lib_cur_colr_initscr" = yes; then cf_add_libs="$LIBS" # reverse order @@ -21633,15 +21745,15 @@ LIBS="$cf_add_libs" else - echo "$as_me:21636: checking for initscr in -lHcurses" >&5 + echo "$as_me:21748: checking for initscr in -lHcurses" >&5 echo $ECHO_N "checking for initscr in -lHcurses... $ECHO_C" >&6 if test "${ac_cv_lib_Hcurses_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lHcurses $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 21644 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 21756 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21659,30 +21771,30 @@ initscr (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21663: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:21775: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21666: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21669: \"$ac_try\"") >&5 + echo "$as_me:21778: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:21781: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21672: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:21784: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_Hcurses_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_Hcurses_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21683: result: $ac_cv_lib_Hcurses_initscr" >&5 +echo "$as_me:21795: result: $ac_cv_lib_Hcurses_initscr" >&5 echo "${ECHO_T}$ac_cv_lib_Hcurses_initscr" >&6 -if test $ac_cv_lib_Hcurses_initscr = yes; then +if test "$ac_cv_lib_Hcurses_initscr" = yes; then # HP's header uses __HP_CURSES, but user claims _HP_CURSES. @@ -21722,9 +21834,9 @@ fi if test -n "/lib64" ; then for cf_add_libdir in /lib64 do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -21738,7 +21850,7 @@ if test -n "/lib64" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:21741: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:21853: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -21751,9 +21863,9 @@ fi if test -n "/lib" ; then for cf_add_libdir in /lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -21767,7 +21879,7 @@ if test -n "/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:21770: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:21882: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -21782,9 +21894,9 @@ fi if test -n "/lib" ; then for cf_add_libdir in /lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -21798,7 +21910,7 @@ if test -n "/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:21801: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:21913: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -21817,9 +21929,9 @@ fi if test -n "/usr/5lib" ; then for cf_add_libdir in /usr/5lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -21833,7 +21945,7 @@ if test -n "/usr/5lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:21836: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:21948: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -21877,13 +21989,13 @@ if test ".$ac_cv_func_initscr" != .yes ; then # because it may be needed to link the test-case for initscr. if test "x$cf_term_lib" = x then - echo "$as_me:21880: checking for tgoto" >&5 + echo "$as_me:21992: checking for tgoto" >&5 echo $ECHO_N "checking for tgoto... $ECHO_C" >&6 if test "${ac_cv_func_tgoto+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 21886 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 21998 "configure" #include "confdefs.h" #define tgoto autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -21913,44 +22025,44 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21917: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22029: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21920: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21923: \"$ac_try\"") >&5 + echo "$as_me:22032: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22035: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21926: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22038: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_tgoto=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_tgoto=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:21936: result: $ac_cv_func_tgoto" >&5 +echo "$as_me:22048: result: $ac_cv_func_tgoto" >&5 echo "${ECHO_T}$ac_cv_func_tgoto" >&6 -if test $ac_cv_func_tgoto = yes; then +if test "$ac_cv_func_tgoto" = yes; then cf_term_lib=predefined else for cf_term_lib in $cf_check_list otermcap termcap tinfo termlib unknown do as_ac_Lib=`echo "ac_cv_lib_$cf_term_lib''_tgoto" | $as_tr_sh` -echo "$as_me:21945: checking for tgoto in -l$cf_term_lib" >&5 +echo "$as_me:22057: checking for tgoto in -l$cf_term_lib" >&5 echo $ECHO_N "checking for tgoto in -l$cf_term_lib... $ECHO_C" >&6 if eval "test \"\${$as_ac_Lib+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l$cf_term_lib $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 21953 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 22065 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21968,32 +22080,32 @@ tgoto (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:21972: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22084: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21975: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:21978: \"$ac_try\"") >&5 + echo "$as_me:22087: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22090: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21981: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22093: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_Lib=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_Lib=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21992: result: `eval echo '${'$as_ac_Lib'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 -if test `eval echo '${'$as_ac_Lib'}'` = yes; then +echo "$as_me:22104: result: `eval echo '${'"$as_ac_Lib"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Lib"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Lib"'}'`" = yes; then - : ${cf_nculib_root:=$cf_term_lib} + : "${cf_nculib_root:=$cf_term_lib}" break fi @@ -22012,10 +22124,10 @@ fi do LIBS="-l$cf_curs_lib $cf_save_LIBS" if test "$cf_term_lib" = unknown || test "$cf_term_lib" = "$cf_curs_lib" ; then - echo "$as_me:22015: checking if we can link with $cf_curs_lib library" >&5 + echo "$as_me:22127: checking if we can link with $cf_curs_lib library" >&5 echo $ECHO_N "checking if we can link with $cf_curs_lib library... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 22018 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22130 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -22026,35 +22138,35 @@ initscr() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22030: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22142: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22033: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22036: \"$ac_try\"") >&5 + echo "$as_me:22145: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22148: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22039: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22151: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:22048: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + echo "$as_me:22160: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 - test $cf_result = yes && break + test "$cf_result" = yes && break elif test "$cf_curs_lib" = "$cf_term_lib" ; then cf_result=no elif test "$cf_term_lib" != predefined ; then - echo "$as_me:22054: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5 + echo "$as_me:22166: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5 echo $ECHO_N "checking if we need both $cf_curs_lib and $cf_term_lib libraries... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 22057 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22169 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -22065,26 +22177,26 @@ initscr(); tgoto((char *)0, 0, 0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22069: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22181: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22072: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22075: \"$ac_try\"") >&5 + echo "$as_me:22184: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22187: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22078: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22190: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-l$cf_curs_lib -l$cf_term_lib $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 22087 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22199 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -22095,49 +22207,49 @@ initscr() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22099: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22211: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22102: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22105: \"$ac_try\"") >&5 + echo "$as_me:22214: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22217: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22108: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22220: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=error fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:22120: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + echo "$as_me:22232: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 - test $cf_result != error && break + test "$cf_result" != error && break fi done fi - test $cf_curs_lib = unknown && { { echo "$as_me:22126: error: no curses library found" >&5 + test "$cf_curs_lib" = unknown && { { echo "$as_me:22238: error: no curses library found" >&5 echo "$as_me: error: no curses library found" >&2;} { (exit 1); exit 1; }; } fi fi -echo "$as_me:22132: checking for curses performance tradeoff" >&5 +echo "$as_me:22244: checking for curses performance tradeoff" >&5 echo $ECHO_N "checking for curses performance tradeoff... $ECHO_C" >&6 if test "${cf_cv_curs_performance+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cf_cv_curs_performance=no - cat >conftest.$ac_ext <<_ACEOF -#line 22140 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22252 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -22155,21 +22267,21 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:22159: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:22271: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22162: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22165: \"$ac_try\"") >&5 + echo "$as_me:22274: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:22277: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22168: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22280: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then - cat >conftest.$ac_ext <<_ACEOF -#line 22172 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22284 "configure" #include "confdefs.h" #define CURS_PERFORMANCE @@ -22188,46 +22300,46 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:22192: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:22304: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22195: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22198: \"$ac_try\"") >&5 + echo "$as_me:22307: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:22310: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22201: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22313: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_curs_performance=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:22216: result: $cf_cv_curs_performance" >&5 +echo "$as_me:22328: result: $cf_cv_curs_performance" >&5 echo "${ECHO_T}$cf_cv_curs_performance" >&6 -test $cf_cv_curs_performance = yes && +test "$cf_cv_curs_performance" = yes && cat >>confdefs.h <<\EOF #define CURS_PERFORMANCE 1 EOF -echo "$as_me:22223: checking for curses touchline function" >&5 +echo "$as_me:22335: checking for curses touchline function" >&5 echo $ECHO_N "checking for curses touchline function... $ECHO_C" >&6 if test "${cf_cv_curs_touchline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 22230 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22342 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -22239,24 +22351,24 @@ touchline(stdscr, 1,2,3); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22243: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22355: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22246: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22249: \"$ac_try\"") >&5 + echo "$as_me:22358: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22361: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22252: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22364: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_curs_touchline=bsd else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 22259 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 22371 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -22268,29 +22380,29 @@ touchline(stdscr, 1,2); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22272: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22384: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22275: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22278: \"$ac_try\"") >&5 + echo "$as_me:22387: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22390: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22281: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22393: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_curs_touchline=sysv else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_curs_touchline=bsd fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:22293: result: $cf_cv_curs_touchline" >&5 +echo "$as_me:22405: result: $cf_cv_curs_touchline" >&5 echo "${ECHO_T}$cf_cv_curs_touchline" >&6 case "$cf_cv_curs_touchline" in (bsd) @@ -22312,15 +22424,15 @@ esac ;; (ncursesw*) -echo "$as_me:22315: checking for multibyte character support" >&5 +echo "$as_me:22427: checking for multibyte character support" >&5 echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6 if test "${cf_cv_utf8_lib+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cf_save_LIBS="$LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 22323 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22435 "configure" #include "confdefs.h" #include <stdlib.h> @@ -22332,34 +22444,34 @@ putwc(0,0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22336: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22448: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22339: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22342: \"$ac_try\"") >&5 + echo "$as_me:22451: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22454: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22345: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22457: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_utf8_lib=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 # If the linkage is not already in the $CPPFLAGS/$LDFLAGS configuration, these # will be set on completion of the AC_TRY_LINK below. cf_cv_header_path_utf8= cf_cv_library_path_utf8= -echo "${as_me:-configure}:22357: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 +echo "${as_me:-configure}:22469: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 22362 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 22474 "configure" #include "confdefs.h" #include <libutf8.h> @@ -22371,18 +22483,18 @@ putwc(0,0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22375: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22487: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22378: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22381: \"$ac_try\"") >&5 + echo "$as_me:22490: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22493: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22384: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22496: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_utf8=yes cf_cv_header_path_utf8=/usr/include @@ -22390,12 +22502,12 @@ if { (eval echo "$as_me:22375: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lutf8 $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 22398 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 22510 "configure" #include "confdefs.h" #include <libutf8.h> @@ -22407,18 +22519,18 @@ putwc(0,0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22411: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22523: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22414: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22417: \"$ac_try\"") >&5 + echo "$as_me:22526: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22529: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22420: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22532: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_utf8=yes cf_cv_header_path_utf8=/usr/include @@ -22427,16 +22539,16 @@ if { (eval echo "$as_me:22411: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_utf8=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 -echo "${as_me:-configure}:22437: testing find linkage for utf8 library ..." 1>&5 +echo "${as_me:-configure}:22549: testing find linkage for utf8 library ..." 1>&5 -echo "${as_me:-configure}:22439: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 +echo "${as_me:-configure}:22551: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -22448,7 +22560,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -22456,11 +22568,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/utf8 && cf_search="$cf_search $cf_header_path/include/utf8" - test -d $cf_header_path/include/utf8/include && cf_search="$cf_search $cf_header_path/include/utf8/include" - test -d $cf_header_path/utf8/include && cf_search="$cf_search $cf_header_path/utf8/include" - test -d $cf_header_path/utf8/include/utf8 && cf_search="$cf_search $cf_header_path/utf8/include/utf8" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/utf8" && cf_search="$cf_search $cf_header_path/include/utf8" + test -d "$cf_header_path/include/utf8/include" && cf_search="$cf_search $cf_header_path/include/utf8/include" + test -d "$cf_header_path/utf8/include" && cf_search="$cf_search $cf_header_path/utf8/include" + test -d "$cf_header_path/utf8/include/utf8" && cf_search="$cf_search $cf_header_path/utf8/include/utf8" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -22477,11 +22589,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/utf8 && cf_search="$cf_search $prefix/include/utf8" - test -d $prefix/include/utf8/include && cf_search="$cf_search $prefix/include/utf8/include" - test -d $prefix/utf8/include && cf_search="$cf_search $prefix/utf8/include" - test -d $prefix/utf8/include/utf8 && cf_search="$cf_search $prefix/utf8/include/utf8" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/utf8" && cf_search="$cf_search $prefix/include/utf8" + test -d "$prefix/include/utf8/include" && cf_search="$cf_search $prefix/include/utf8/include" + test -d "$prefix/utf8/include" && cf_search="$cf_search $prefix/utf8/include" + test -d "$prefix/utf8/include/utf8" && cf_search="$cf_search $prefix/utf8/include/utf8" } for cf_subdir_prefix in \ @@ -22495,13 +22607,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/utf8 && cf_search="$cf_search $cf_subdir_prefix/include/utf8" - test -d $cf_subdir_prefix/include/utf8/include && cf_search="$cf_search $cf_subdir_prefix/include/utf8/include" - test -d $cf_subdir_prefix/utf8/include && cf_search="$cf_search $cf_subdir_prefix/utf8/include" - test -d $cf_subdir_prefix/utf8/include/utf8 && cf_search="$cf_search $cf_subdir_prefix/utf8/include/utf8" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/utf8" && cf_search="$cf_search $cf_subdir_prefix/include/utf8" + test -d "$cf_subdir_prefix/include/utf8/include" && cf_search="$cf_search $cf_subdir_prefix/include/utf8/include" + test -d "$cf_subdir_prefix/utf8/include" && cf_search="$cf_search $cf_subdir_prefix/utf8/include" + test -d "$cf_subdir_prefix/utf8/include/utf8" && cf_search="$cf_search $cf_subdir_prefix/utf8/include/utf8" } done @@ -22509,33 +22621,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/utf8 && cf_search="$cf_search $includedir/utf8" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/utf8" && cf_search="$cf_search $includedir/utf8" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/utf8 && cf_search="$cf_search $oldincludedir/utf8" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/utf8" && cf_search="$cf_search $oldincludedir/utf8" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_utf8 in $cf_search do - if test -d $cf_cv_header_path_utf8 ; then + if test -d "$cf_cv_header_path_utf8" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_utf8" 1>&6 -echo "${as_me:-configure}:22530: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 +echo "${as_me:-configure}:22642: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8" - cat >conftest.$ac_ext <<_ACEOF -#line 22538 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22650 "configure" #include "confdefs.h" #include <libutf8.h> @@ -22547,40 +22659,40 @@ putwc(0,0); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:22551: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:22663: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22554: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22557: \"$ac_try\"") >&5 + echo "$as_me:22666: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:22669: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22560: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22672: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found utf8 headers in $cf_cv_header_path_utf8" 1>&6 -echo "${as_me:-configure}:22565: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 +echo "${as_me:-configure}:22677: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 cf_cv_find_linkage_utf8=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_utf8" = maybe ; then -echo "${as_me:-configure}:22583: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 +echo "${as_me:-configure}:22695: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" @@ -22592,7 +22704,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -22600,11 +22712,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/utf8 && cf_search="$cf_search $cf_library_path/lib/utf8" - test -d $cf_library_path/lib/utf8/lib && cf_search="$cf_search $cf_library_path/lib/utf8/lib" - test -d $cf_library_path/utf8/lib && cf_search="$cf_search $cf_library_path/utf8/lib" - test -d $cf_library_path/utf8/lib/utf8 && cf_search="$cf_search $cf_library_path/utf8/lib/utf8" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/utf8" && cf_search="$cf_search $cf_library_path/lib/utf8" + test -d "$cf_library_path/lib/utf8/lib" && cf_search="$cf_search $cf_library_path/lib/utf8/lib" + test -d "$cf_library_path/utf8/lib" && cf_search="$cf_search $cf_library_path/utf8/lib" + test -d "$cf_library_path/utf8/lib/utf8" && cf_search="$cf_search $cf_library_path/utf8/lib/utf8" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -22619,11 +22731,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/utf8 && cf_search="$cf_search $prefix/lib/utf8" - test -d $prefix/lib/utf8/lib && cf_search="$cf_search $prefix/lib/utf8/lib" - test -d $prefix/utf8/lib && cf_search="$cf_search $prefix/utf8/lib" - test -d $prefix/utf8/lib/utf8 && cf_search="$cf_search $prefix/utf8/lib/utf8" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/utf8" && cf_search="$cf_search $prefix/lib/utf8" + test -d "$prefix/lib/utf8/lib" && cf_search="$cf_search $prefix/lib/utf8/lib" + test -d "$prefix/utf8/lib" && cf_search="$cf_search $prefix/utf8/lib" + test -d "$prefix/utf8/lib/utf8" && cf_search="$cf_search $prefix/utf8/lib/utf8" } for cf_subdir_prefix in \ @@ -22637,13 +22749,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/utf8 && cf_search="$cf_search $cf_subdir_prefix/lib/utf8" - test -d $cf_subdir_prefix/lib/utf8/lib && cf_search="$cf_search $cf_subdir_prefix/lib/utf8/lib" - test -d $cf_subdir_prefix/utf8/lib && cf_search="$cf_search $cf_subdir_prefix/utf8/lib" - test -d $cf_subdir_prefix/utf8/lib/utf8 && cf_search="$cf_search $cf_subdir_prefix/utf8/lib/utf8" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/utf8" && cf_search="$cf_search $cf_subdir_prefix/lib/utf8" + test -d "$cf_subdir_prefix/lib/utf8/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/utf8/lib" + test -d "$cf_subdir_prefix/utf8/lib" && cf_search="$cf_search $cf_subdir_prefix/utf8/lib" + test -d "$cf_subdir_prefix/utf8/lib/utf8" && cf_search="$cf_search $cf_subdir_prefix/utf8/lib/utf8" } done @@ -22652,16 +22764,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_utf8 in $cf_search do - if test -d $cf_cv_library_path_utf8 ; then + if test -d "$cf_cv_library_path_utf8" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_utf8" 1>&6 -echo "${as_me:-configure}:22658: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 +echo "${as_me:-configure}:22770: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lutf8 $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_utf8" - cat >conftest.$ac_ext <<_ACEOF -#line 22664 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22776 "configure" #include "confdefs.h" #include <libutf8.h> @@ -22673,36 +22785,36 @@ putwc(0,0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22677: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:22789: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22680: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22683: \"$ac_try\"") >&5 + echo "$as_me:22792: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:22795: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22686: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22798: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found utf8 library in $cf_cv_library_path_utf8" 1>&6 -echo "${as_me:-configure}:22691: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 +echo "${as_me:-configure}:22803: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 cf_cv_find_linkage_utf8=yes cf_cv_library_file_utf8="-lutf8" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -22714,10 +22826,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -22728,9 +22840,9 @@ cf_cv_utf8_lib=no fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:22733: result: $cf_cv_utf8_lib" >&5 +echo "$as_me:22845: result: $cf_cv_utf8_lib" >&5 echo "${ECHO_T}$cf_cv_utf8_lib" >&6 # HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between @@ -22744,9 +22856,9 @@ EOF if test -n "$cf_cv_header_path_utf8" ; then for cf_add_incdir in $cf_cv_header_path_utf8 do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -22767,8 +22879,8 @@ if test -n "$cf_cv_header_path_utf8" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 22771 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 22883 "configure" #include "confdefs.h" #include <stdio.h> int @@ -22779,25 +22891,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:22783: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:22895: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22786: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22789: \"$ac_try\"") >&5 + echo "$as_me:22898: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:22901: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22792: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:22904: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -22806,11 +22918,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:22809: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:22921: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -22826,9 +22938,9 @@ fi if test -n "$cf_cv_library_path_utf8" ; then for cf_add_libdir in $cf_cv_library_path_utf8 do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -22842,7 +22954,7 @@ if test -n "$cf_cv_library_path_utf8" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:22845: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:22957: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -22872,13 +22984,13 @@ cf_ncuconfig_root=$cf_cv_screen cf_have_ncuconfig=no if test "x${PKG_CONFIG:=none}" != xnone; then - echo "$as_me:22875: checking pkg-config for $cf_ncuconfig_root" >&5 + echo "$as_me:22987: checking pkg-config for $cf_ncuconfig_root" >&5 echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then - echo "$as_me:22878: result: yes" >&5 + echo "$as_me:22990: result: yes" >&5 echo "${ECHO_T}yes" >&6 - echo "$as_me:22881: checking if the $cf_ncuconfig_root package files work" >&5 + echo "$as_me:22993: checking if the $cf_ncuconfig_root package files work" >&5 echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 cf_have_ncuconfig=unknown @@ -22886,8 +22998,8 @@ echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" cf_save_CPPFLAGS="$CPPFLAGS" cf_save_LIBS="$LIBS" - cf_pkg_cflags=`$PKG_CONFIG --cflags $cf_ncuconfig_root` - cf_pkg_libs=`$PKG_CONFIG --libs $cf_ncuconfig_root` + cf_pkg_cflags="`$PKG_CONFIG --cflags $cf_ncuconfig_root`" + cf_pkg_libs="`$PKG_CONFIG --libs $cf_ncuconfig_root`" # while -W for passing linker flags is prevalent, it is not "standard". # At least one wrapper for c89/c99 (in Apple's xcode) has its own @@ -22903,19 +23015,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkg_cflags do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -22934,7 +23046,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -22964,7 +23076,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -23010,8 +23122,8 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" - cat >conftest.$ac_ext <<_ACEOF -#line 23014 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 23126 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -23022,54 +23134,54 @@ initscr(); mousemask(0,0); tgoto((char *)0, 0, 0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23026: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:23138: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23029: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23032: \"$ac_try\"") >&5 + echo "$as_me:23141: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:23144: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23035: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:23147: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then if test "$cross_compiling" = yes; then cf_test_ncuconfig=maybe else - cat >conftest.$ac_ext <<_ACEOF -#line 23041 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 23153 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int main(void) { char *xx = curses_version(); return (xx == 0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:23048: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:23160: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23051: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:23053: \"$ac_try\"") >&5 + echo "$as_me:23163: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:23165: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23056: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:23168: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_test_ncuconfig=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_test_ncuconfig=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_test_ncuconfig=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" CFLAGS="$cf_save_CFLAGS" CPPFLAGS="$cf_save_CPPFLAGS" @@ -23091,19 +23203,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkg_cflags do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -23122,7 +23234,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -23152,7 +23264,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -23198,8 +23310,8 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" - cat >conftest.$ac_ext <<_ACEOF -#line 23202 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 23314 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -23210,55 +23322,55 @@ initscr(); mousemask(0,0); tgoto((char *)0, 0, 0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23214: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:23326: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23217: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23220: \"$ac_try\"") >&5 + echo "$as_me:23329: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:23332: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23223: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:23335: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then if test "$cross_compiling" = yes; then cf_have_ncuconfig=maybe else - cat >conftest.$ac_ext <<_ACEOF -#line 23229 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 23341 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int main(void) { char *xx = curses_version(); return (xx == 0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:23236: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:23348: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23239: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:23241: \"$ac_try\"") >&5 + echo "$as_me:23351: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:23353: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23244: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:23356: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_have_ncuconfig=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_ncuconfig=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_ncuconfig=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:23261: result: $cf_have_ncuconfig" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + echo "$as_me:23373: result: $cf_have_ncuconfig" >&5 echo "${ECHO_T}$cf_have_ncuconfig" >&6 test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes if test "$cf_have_ncuconfig" != "yes" @@ -23274,13 +23386,13 @@ EOF NCURSES_CONFIG_PKG=$cf_ncuconfig_root -echo "$as_me:23277: checking for terminfo header" >&5 +echo "$as_me:23389: checking for terminfo header" >&5 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 if test "${cf_cv_term_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -case ${cf_cv_ncurses_header} in +case "${cf_cv_ncurses_header}" in (*/ncurses.h|*/ncursesw.h) cf_term_header=`echo "$cf_cv_ncurses_header" | sed -e 's%ncurses[^.]*\.h$%term.h%'` ;; @@ -23291,8 +23403,8 @@ esac for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" do -cat >conftest.$ac_ext <<_ACEOF -#line 23295 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 23407 "configure" #include "confdefs.h" #include <stdio.h> #include <${cf_cv_ncurses_header:-curses.h}> @@ -23306,38 +23418,38 @@ int x = auto_left_margin; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:23310: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:23422: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23313: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23316: \"$ac_try\"") >&5 + echo "$as_me:23425: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:23428: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23319: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:23431: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_term_header="$cf_test" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_term_header=unknown fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" test "$cf_cv_term_header" != unknown && break done fi -echo "$as_me:23335: result: $cf_cv_term_header" >&5 +echo "$as_me:23447: result: $cf_cv_term_header" >&5 echo "${ECHO_T}$cf_cv_term_header" >&6 # Set definitions to allow ifdef'ing to accommodate subdirectories -case $cf_cv_term_header in +case "$cf_cv_term_header" in (*term.h) cat >>confdefs.h <<\EOF @@ -23347,7 +23459,7 @@ EOF ;; esac -case $cf_cv_term_header in +case "$cf_cv_term_header" in (ncurses/term.h) cat >>confdefs.h <<\EOF @@ -23367,7 +23479,7 @@ esac fi else - echo "$as_me:23370: result: no" >&5 + echo "$as_me:23482: result: no" >&5 echo "${ECHO_T}no" >&6 NCURSES_CONFIG_PKG=none fi @@ -23383,7 +23495,7 @@ if test -n "$ac_tool_prefix"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:23386: checking for $ac_word" >&5 +echo "$as_me:23498: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23398,7 +23510,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog" -echo "$as_me:23401: found $ac_dir/$ac_word" >&5 +echo "$as_me:23513: found $ac_dir/$ac_word" >&5 break done @@ -23406,10 +23518,10 @@ fi fi NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG if test -n "$NCURSES_CONFIG"; then - echo "$as_me:23409: result: $NCURSES_CONFIG" >&5 + echo "$as_me:23521: result: $NCURSES_CONFIG" >&5 echo "${ECHO_T}$NCURSES_CONFIG" >&6 else - echo "$as_me:23412: result: no" >&5 + echo "$as_me:23524: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -23422,7 +23534,7 @@ if test -z "$NCURSES_CONFIG"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:23425: checking for $ac_word" >&5 +echo "$as_me:23537: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_NCURSES_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23437,7 +23549,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog" -echo "$as_me:23440: found $ac_dir/$ac_word" >&5 +echo "$as_me:23552: found $ac_dir/$ac_word" >&5 break done @@ -23445,10 +23557,10 @@ fi fi ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG if test -n "$ac_ct_NCURSES_CONFIG"; then - echo "$as_me:23448: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "$as_me:23560: result: $ac_ct_NCURSES_CONFIG" >&5 echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 else - echo "$as_me:23451: result: no" >&5 + echo "$as_me:23563: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -23468,19 +23580,19 @@ cf_new_extra_cppflags= for cf_add_cflags in `$NCURSES_CONFIG --cflags` do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -23499,7 +23611,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -23529,7 +23641,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -23577,7 +23689,7 @@ LIBS="$cf_add_libs" # even with config script, some packages use no-override for curses.h -echo "$as_me:23580: checking if we have identified curses headers" >&5 +echo "$as_me:23692: checking if we have identified curses headers" >&5 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 if test "${cf_cv_ncurses_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23588,8 +23700,8 @@ for cf_header in \ ncurses.h $cf_cv_screen/ncurses.h \ curses.h $cf_cv_screen/curses.h do -cat >conftest.$ac_ext <<_ACEOF -#line 23592 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 23704 "configure" #include "confdefs.h" #include <${cf_header}> int @@ -23600,32 +23712,32 @@ initscr(); tgoto("?", 0,0) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:23604: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:23716: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23607: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23610: \"$ac_try\"") >&5 + echo "$as_me:23719: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:23722: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23613: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:23725: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_header=$cf_header; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:23624: result: $cf_cv_ncurses_header" >&5 +echo "$as_me:23736: result: $cf_cv_ncurses_header" >&5 echo "${ECHO_T}$cf_cv_ncurses_header" >&6 if test "$cf_cv_ncurses_header" = none ; then - { { echo "$as_me:23628: error: No curses header-files found" >&5 + { { echo "$as_me:23740: error: No curses header-files found" >&5 echo "$as_me: error: No curses header-files found" >&2;} { (exit 1); exit 1; }; } fi @@ -23635,24 +23747,24 @@ fi for ac_header in $cf_cv_ncurses_header do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:23638: checking for $ac_header" >&5 +echo "$as_me:23750: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 23644 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 23756 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:23648: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:23760: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:23654: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:23766: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -23665,14 +23777,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:23673: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:23785: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -23690,7 +23802,7 @@ cf_nculib_ROOT=`echo "HAVE_LIB$cf_ncuconfig_root" | sed y%abcdefghijklmnopqrstuv #define $cf_nculib_ROOT 1 EOF - cf_cv_ncurses_version=`$NCURSES_CONFIG --version` + cf_cv_ncurses_version="`$NCURSES_CONFIG --version`" else @@ -23702,9 +23814,9 @@ test "$cf_cv_curses_dir" != "no" && { \ if test -n "$cf_cv_curses_dir/include/$cf_ncuhdr_root" ; then for cf_add_incdir in $cf_cv_curses_dir/include/$cf_ncuhdr_root do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -23725,8 +23837,8 @@ if test -n "$cf_cv_curses_dir/include/$cf_ncuhdr_root" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 23729 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 23841 "configure" #include "confdefs.h" #include <stdio.h> int @@ -23737,25 +23849,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:23741: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:23853: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23744: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23747: \"$ac_try\"") >&5 + echo "$as_me:23856: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:23859: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23750: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:23862: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -23764,11 +23876,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:23767: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:23879: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -23783,19 +23895,19 @@ fi } -echo "$as_me:23786: checking for $cf_ncuhdr_root header in include-path" >&5 +echo "$as_me:23898: checking for $cf_ncuhdr_root header in include-path" >&5 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6 if test "${cf_cv_ncurses_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cf_header_list="$cf_ncuhdr_root/curses.h $cf_ncuhdr_root/ncurses.h" - ( test "$cf_ncuhdr_root" = ncurses || test "$cf_ncuhdr_root" = ncursesw ) && cf_header_list="$cf_header_list curses.h ncurses.h" + { test "$cf_ncuhdr_root" = ncurses || test "$cf_ncuhdr_root" = ncursesw; } && cf_header_list="$cf_header_list curses.h ncurses.h" for cf_header in $cf_header_list do - cat >conftest.$ac_ext <<_ACEOF -#line 23798 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 23910 "configure" #include "confdefs.h" #include <$cf_header> @@ -23805,10 +23917,10 @@ main (void) #ifdef NCURSES_VERSION -printf("%s\n", NCURSES_VERSION); +printf("%s\\n", NCURSES_VERSION); #else #ifdef __NCURSES_H -printf("old\n"); +printf("old\\n"); #else make an error #endif @@ -23818,39 +23930,39 @@ printf("old\n"); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:23822: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:23934: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23825: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23828: \"$ac_try\"") >&5 + echo "$as_me:23937: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:23940: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23831: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:23943: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_h=$cf_header else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_ncurses_h=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" test "$cf_cv_ncurses_h" != no && break done fi -echo "$as_me:23846: result: $cf_cv_ncurses_h" >&5 +echo "$as_me:23958: result: $cf_cv_ncurses_h" >&5 echo "${ECHO_T}$cf_cv_ncurses_h" >&6 if test "$cf_cv_ncurses_h" != no ; then cf_cv_ncurses_header=$cf_cv_ncurses_h else -echo "$as_me:23853: checking for $cf_ncuhdr_root include-path" >&5 +echo "$as_me:23965: checking for $cf_ncuhdr_root include-path" >&5 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6 if test "${cf_cv_ncurses_h2+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23865,7 +23977,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -23873,11 +23985,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/$cf_ncuhdr_root && cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root" - test -d $cf_header_path/include/$cf_ncuhdr_root/include && cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root/include" - test -d $cf_header_path/$cf_ncuhdr_root/include && cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include" - test -d $cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root && cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/$cf_ncuhdr_root" && cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root" + test -d "$cf_header_path/include/$cf_ncuhdr_root/include" && cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root/include" + test -d "$cf_header_path/$cf_ncuhdr_root/include" && cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include" + test -d "$cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root" && cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -23894,11 +24006,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/$cf_ncuhdr_root && cf_search="$cf_search $prefix/include/$cf_ncuhdr_root" - test -d $prefix/include/$cf_ncuhdr_root/include && cf_search="$cf_search $prefix/include/$cf_ncuhdr_root/include" - test -d $prefix/$cf_ncuhdr_root/include && cf_search="$cf_search $prefix/$cf_ncuhdr_root/include" - test -d $prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root && cf_search="$cf_search $prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/$cf_ncuhdr_root" && cf_search="$cf_search $prefix/include/$cf_ncuhdr_root" + test -d "$prefix/include/$cf_ncuhdr_root/include" && cf_search="$cf_search $prefix/include/$cf_ncuhdr_root/include" + test -d "$prefix/$cf_ncuhdr_root/include" && cf_search="$cf_search $prefix/$cf_ncuhdr_root/include" + test -d "$prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" && cf_search="$cf_search $prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" } for cf_subdir_prefix in \ @@ -23912,13 +24024,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/$cf_ncuhdr_root && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ncuhdr_root" - test -d $cf_subdir_prefix/include/$cf_ncuhdr_root/include && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ncuhdr_root/include" - test -d $cf_subdir_prefix/$cf_ncuhdr_root/include && cf_search="$cf_search $cf_subdir_prefix/$cf_ncuhdr_root/include" - test -d $cf_subdir_prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root && cf_search="$cf_search $cf_subdir_prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/$cf_ncuhdr_root" && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ncuhdr_root" + test -d "$cf_subdir_prefix/include/$cf_ncuhdr_root/include" && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ncuhdr_root/include" + test -d "$cf_subdir_prefix/$cf_ncuhdr_root/include" && cf_search="$cf_search $cf_subdir_prefix/$cf_ncuhdr_root/include" + test -d "$cf_subdir_prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" && cf_search="$cf_search $cf_subdir_prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" } done @@ -23926,20 +24038,20 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/$cf_ncuhdr_root && cf_search="$cf_search $includedir/$cf_ncuhdr_root" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/$cf_ncuhdr_root" && cf_search="$cf_search $includedir/$cf_ncuhdr_root" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/$cf_ncuhdr_root && cf_search="$cf_search $oldincludedir/$cf_ncuhdr_root" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/$cf_ncuhdr_root" && cf_search="$cf_search $oldincludedir/$cf_ncuhdr_root" } cf_search="$cf_search $cf_header_path_list" - test -n "$verbose" && echo search path $cf_search + test -n "$verbose" && echo "search path $cf_search" cf_save2_CPPFLAGS="$CPPFLAGS" for cf_incdir in $cf_search do @@ -23947,9 +24059,9 @@ cf_search="$cf_search $cf_header_path_list" if test -n "$cf_incdir" ; then for cf_add_incdir in $cf_incdir do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -23970,8 +24082,8 @@ if test -n "$cf_incdir" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 23974 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 24086 "configure" #include "confdefs.h" #include <stdio.h> int @@ -23982,25 +24094,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:23986: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:24098: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23989: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23992: \"$ac_try\"") >&5 + echo "$as_me:24101: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:24104: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23995: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24107: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -24009,11 +24121,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:24012: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:24124: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -24031,8 +24143,8 @@ fi curses.h do - cat >conftest.$ac_ext <<_ACEOF -#line 24035 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 24147 "configure" #include "confdefs.h" #include <$cf_header> @@ -24042,10 +24154,10 @@ main (void) #ifdef NCURSES_VERSION -printf("%s\n", NCURSES_VERSION); +printf("%s\\n", NCURSES_VERSION); #else #ifdef __NCURSES_H -printf("old\n"); +printf("old\\n"); #else make an error #endif @@ -24055,26 +24167,26 @@ printf("old\n"); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:24059: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:24171: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24062: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:24065: \"$ac_try\"") >&5 + echo "$as_me:24174: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:24177: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24068: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24180: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_h2=$cf_header else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_ncurses_h2=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" if test "$cf_cv_ncurses_h2" != no ; then cf_cv_ncurses_h2=$cf_incdir/$cf_header @@ -24086,26 +24198,26 @@ rm -f conftest.$ac_objext conftest.$ac_ext CPPFLAGS="$cf_save2_CPPFLAGS" test "$cf_cv_ncurses_h2" != no && break done - test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:24089: error: not found" >&5 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:24201: error: not found" >&5 echo "$as_me: error: not found" >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:24094: result: $cf_cv_ncurses_h2" >&5 +echo "$as_me:24206: result: $cf_cv_ncurses_h2" >&5 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6 - cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'` - cf_cv_ncurses_header=`basename $cf_cv_ncurses_h2` - if test `basename $cf_1st_incdir` = $cf_ncuhdr_root ; then - cf_cv_ncurses_header=$cf_ncuhdr_root/$cf_cv_ncurses_header + cf_1st_incdir=`echo "$cf_cv_ncurses_h2" | sed -e 's%/[^/]*$%%'` + cf_cv_ncurses_header="`basename "$cf_cv_ncurses_h2"`" + if test "`basename "$cf_1st_incdir"`" = "$cf_ncuhdr_root" ; then + cf_cv_ncurses_header="$cf_ncuhdr_root/$cf_cv_ncurses_header" fi if test -n "$cf_1st_incdir" ; then for cf_add_incdir in $cf_1st_incdir do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -24126,8 +24238,8 @@ if test -n "$cf_1st_incdir" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 24130 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 24242 "configure" #include "confdefs.h" #include <stdio.h> int @@ -24138,25 +24250,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:24142: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:24254: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24145: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:24148: \"$ac_try\"") >&5 + echo "$as_me:24257: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:24260: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24151: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24263: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -24165,11 +24277,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:24168: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:24280: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -24186,7 +24298,7 @@ fi # Set definitions to allow ifdef'ing for ncurses.h -case $cf_cv_ncurses_header in +case "$cf_cv_ncurses_header" in (*ncurses.h) cat >>confdefs.h <<\EOF @@ -24196,7 +24308,7 @@ EOF ;; esac -case $cf_cv_ncurses_header in +case "$cf_cv_ncurses_header" in (ncurses/curses.h|ncurses/ncurses.h) cat >>confdefs.h <<\EOF @@ -24213,13 +24325,13 @@ EOF ;; esac -echo "$as_me:24216: checking for terminfo header" >&5 +echo "$as_me:24328: checking for terminfo header" >&5 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 if test "${cf_cv_term_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -case ${cf_cv_ncurses_header} in +case "${cf_cv_ncurses_header}" in (*/ncurses.h|*/ncursesw.h) cf_term_header=`echo "$cf_cv_ncurses_header" | sed -e 's%ncurses[^.]*\.h$%term.h%'` ;; @@ -24230,8 +24342,8 @@ esac for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" do -cat >conftest.$ac_ext <<_ACEOF -#line 24234 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 24346 "configure" #include "confdefs.h" #include <stdio.h> #include <${cf_cv_ncurses_header:-curses.h}> @@ -24245,38 +24357,38 @@ int x = auto_left_margin; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:24249: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:24361: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24252: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:24255: \"$ac_try\"") >&5 + echo "$as_me:24364: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:24367: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24258: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24370: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_term_header="$cf_test" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_term_header=unknown fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" test "$cf_cv_term_header" != unknown && break done fi -echo "$as_me:24274: result: $cf_cv_term_header" >&5 +echo "$as_me:24386: result: $cf_cv_term_header" >&5 echo "${ECHO_T}$cf_cv_term_header" >&6 # Set definitions to allow ifdef'ing to accommodate subdirectories -case $cf_cv_term_header in +case "$cf_cv_term_header" in (*term.h) cat >>confdefs.h <<\EOF @@ -24286,7 +24398,7 @@ EOF ;; esac -case $cf_cv_term_header in +case "$cf_cv_term_header" in (ncurses/term.h) cat >>confdefs.h <<\EOF @@ -24309,7 +24421,7 @@ cat >>confdefs.h <<\EOF #define NCURSES 1 EOF -echo "$as_me:24312: checking for ncurses version" >&5 +echo "$as_me:24424: checking for ncurses version" >&5 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 if test "${cf_cv_ncurses_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -24317,12 +24429,12 @@ else cf_cv_ncurses_version=no cf_tempfile=out$$ - rm -f $cf_tempfile + rm -f "$cf_tempfile" if test "$cross_compiling" = yes; then # This will not work if the preprocessor splits the line after the # Autoconf token. The 'unproto' program does that. - cat > conftest.$ac_ext <<EOF + cat > "conftest.$ac_ext" <<EOF #include <${cf_cv_ncurses_header:-curses.h}> #undef Autoconf #ifdef NCURSES_VERSION @@ -24335,20 +24447,20 @@ Autoconf "old" #endif EOF cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" - { (eval echo "$as_me:24338: \"$cf_try\"") >&5 + { (eval echo "$as_me:24450: \"$cf_try\"") >&5 (eval $cf_try) 2>&5 ac_status=$? - echo "$as_me:24341: \$? = $ac_status" >&5 - (exit $ac_status); } + echo "$as_me:24453: \$? = $ac_status" >&5 + (exit "$ac_status"); } if test -f conftest.out ; then - cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'` + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` test -n "$cf_out" && cf_cv_ncurses_version="$cf_out" rm -f conftest.out fi else - cat >conftest.$ac_ext <<_ACEOF -#line 24351 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 24463 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -24358,13 +24470,13 @@ int main(void) FILE *fp = fopen("$cf_tempfile", "w"); #ifdef NCURSES_VERSION # ifdef NCURSES_VERSION_PATCH - fprintf(fp, "%s.%d\n", NCURSES_VERSION, NCURSES_VERSION_PATCH); + fprintf(fp, "%s.%d\\n", NCURSES_VERSION, NCURSES_VERSION_PATCH); # else - fprintf(fp, "%s\n", NCURSES_VERSION); + fprintf(fp, "%s\\n", NCURSES_VERSION); # endif #else # ifdef __NCURSES_H - fprintf(fp, "old\n"); + fprintf(fp, "old\\n"); # else make an error # endif @@ -24372,30 +24484,30 @@ int main(void) ${cf_cv_main_return:-return}(0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:24376: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:24488: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24379: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:24381: \"$ac_try\"") >&5 + echo "$as_me:24491: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:24493: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24384: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24496: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_version=`cat $cf_tempfile` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi - rm -f $cf_tempfile + rm -f "$cf_tempfile" fi -echo "$as_me:24398: result: $cf_cv_ncurses_version" >&5 +echo "$as_me:24510: result: $cf_cv_ncurses_version" >&5 echo "${ECHO_T}$cf_cv_ncurses_version" >&6 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF @@ -24408,15 +24520,15 @@ cf_nculib_root=$cf_cv_screen # to link gpm. cf_ncurses_LIBS="" cf_ncurses_SAVE="$LIBS" -echo "$as_me:24411: checking for Gpm_Open in -lgpm" >&5 +echo "$as_me:24523: checking for Gpm_Open in -lgpm" >&5 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgpm $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 24419 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 24531 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -24434,39 +24546,39 @@ Gpm_Open (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24438: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:24550: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24441: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24444: \"$ac_try\"") >&5 + echo "$as_me:24553: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:24556: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24447: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24559: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_gpm_Gpm_Open=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_gpm_Gpm_Open=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:24458: result: $ac_cv_lib_gpm_Gpm_Open" >&5 +echo "$as_me:24570: result: $ac_cv_lib_gpm_Gpm_Open" >&5 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 -if test $ac_cv_lib_gpm_Gpm_Open = yes; then - echo "$as_me:24461: checking for initscr in -lgpm" >&5 +if test "$ac_cv_lib_gpm_Gpm_Open" = yes; then + echo "$as_me:24573: checking for initscr in -lgpm" >&5 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6 if test "${ac_cv_lib_gpm_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgpm $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 24469 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 24581 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -24484,30 +24596,30 @@ initscr (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24488: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:24600: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24491: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24494: \"$ac_try\"") >&5 + echo "$as_me:24603: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:24606: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24497: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24609: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_gpm_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_gpm_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:24508: result: $ac_cv_lib_gpm_initscr" >&5 +echo "$as_me:24620: result: $ac_cv_lib_gpm_initscr" >&5 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6 -if test $ac_cv_lib_gpm_initscr = yes; then +if test "$ac_cv_lib_gpm_initscr" = yes; then LIBS="$cf_ncurses_SAVE" else cf_ncurses_LIBS="-lgpm" @@ -24515,20 +24627,20 @@ fi fi -case $host_os in +case "$host_os" in (freebsd*) # This is only necessary if you are linking against an obsolete # version of ncurses (but it should do no harm, since it's static). if test "$cf_nculib_root" = ncurses ; then - echo "$as_me:24523: checking for tgoto in -lmytinfo" >&5 + echo "$as_me:24635: checking for tgoto in -lmytinfo" >&5 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lmytinfo $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 24531 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 24643 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -24546,30 +24658,30 @@ tgoto (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24550: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:24662: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24553: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24556: \"$ac_try\"") >&5 + echo "$as_me:24665: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:24668: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24559: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24671: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_mytinfo_tgoto=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_mytinfo_tgoto=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:24570: result: $ac_cv_lib_mytinfo_tgoto" >&5 +echo "$as_me:24682: result: $ac_cv_lib_mytinfo_tgoto" >&5 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 -if test $ac_cv_lib_mytinfo_tgoto = yes; then +if test "$ac_cv_lib_mytinfo_tgoto" = yes; then cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS" fi @@ -24593,7 +24705,7 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" -if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" ) +if test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" then cf_add_libs="$LIBS" @@ -24614,15 +24726,15 @@ LIBS="$cf_add_libs" else - eval 'cf_cv_have_lib_'$cf_nculib_root'=no' + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' cf_libdir="" - echo "$as_me:24619: checking for initscr" >&5 + echo "$as_me:24731: checking for initscr" >&5 echo $ECHO_N "checking for initscr... $ECHO_C" >&6 if test "${ac_cv_func_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 24625 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 24737 "configure" #include "confdefs.h" #define initscr autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -24652,38 +24764,38 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24656: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:24768: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24659: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24662: \"$ac_try\"") >&5 + echo "$as_me:24771: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:24774: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24665: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:24777: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:24675: result: $ac_cv_func_initscr" >&5 +echo "$as_me:24787: result: $ac_cv_func_initscr" >&5 echo "${ECHO_T}$ac_cv_func_initscr" >&6 -if test $ac_cv_func_initscr = yes; then - eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' +if test "$ac_cv_func_initscr" = yes; then + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' else cf_save_LIBS="$LIBS" - echo "$as_me:24682: checking for initscr in -l$cf_nculib_root" >&5 + echo "$as_me:24794: checking for initscr in -l$cf_nculib_root" >&5 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6 LIBS="-l$cf_nculib_root $LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 24686 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 24798 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -24694,26 +24806,26 @@ initscr() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24698: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:24810: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24701: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24704: \"$ac_try\"") >&5 + echo "$as_me:24813: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:24816: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24707: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:24709: result: yes" >&5 + echo "$as_me:24819: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:24821: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:24716: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:24828: result: no" >&5 echo "${ECHO_T}no" >&6 cf_search= @@ -24721,7 +24833,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -24729,11 +24841,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/$cf_nculib_root && cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root" - test -d $cf_library_path/lib/$cf_nculib_root/lib && cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root/lib" - test -d $cf_library_path/$cf_nculib_root/lib && cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib" - test -d $cf_library_path/$cf_nculib_root/lib/$cf_nculib_root && cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib/$cf_nculib_root" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/$cf_nculib_root" && cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root" + test -d "$cf_library_path/lib/$cf_nculib_root/lib" && cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root/lib" + test -d "$cf_library_path/$cf_nculib_root/lib" && cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib" + test -d "$cf_library_path/$cf_nculib_root/lib/$cf_nculib_root" && cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib/$cf_nculib_root" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -24748,11 +24860,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/$cf_nculib_root && cf_search="$cf_search $prefix/lib/$cf_nculib_root" - test -d $prefix/lib/$cf_nculib_root/lib && cf_search="$cf_search $prefix/lib/$cf_nculib_root/lib" - test -d $prefix/$cf_nculib_root/lib && cf_search="$cf_search $prefix/$cf_nculib_root/lib" - test -d $prefix/$cf_nculib_root/lib/$cf_nculib_root && cf_search="$cf_search $prefix/$cf_nculib_root/lib/$cf_nculib_root" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/$cf_nculib_root" && cf_search="$cf_search $prefix/lib/$cf_nculib_root" + test -d "$prefix/lib/$cf_nculib_root/lib" && cf_search="$cf_search $prefix/lib/$cf_nculib_root/lib" + test -d "$prefix/$cf_nculib_root/lib" && cf_search="$cf_search $prefix/$cf_nculib_root/lib" + test -d "$prefix/$cf_nculib_root/lib/$cf_nculib_root" && cf_search="$cf_search $prefix/$cf_nculib_root/lib/$cf_nculib_root" } for cf_subdir_prefix in \ @@ -24766,13 +24878,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/$cf_nculib_root && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_nculib_root" - test -d $cf_subdir_prefix/lib/$cf_nculib_root/lib && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_nculib_root/lib" - test -d $cf_subdir_prefix/$cf_nculib_root/lib && cf_search="$cf_search $cf_subdir_prefix/$cf_nculib_root/lib" - test -d $cf_subdir_prefix/$cf_nculib_root/lib/$cf_nculib_root && cf_search="$cf_search $cf_subdir_prefix/$cf_nculib_root/lib/$cf_nculib_root" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/$cf_nculib_root" && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_nculib_root" + test -d "$cf_subdir_prefix/lib/$cf_nculib_root/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_nculib_root/lib" + test -d "$cf_subdir_prefix/$cf_nculib_root/lib" && cf_search="$cf_search $cf_subdir_prefix/$cf_nculib_root/lib" + test -d "$cf_subdir_prefix/$cf_nculib_root/lib/$cf_nculib_root" && cf_search="$cf_search $cf_subdir_prefix/$cf_nculib_root/lib/$cf_nculib_root" } done @@ -24781,11 +24893,11 @@ cf_search="$cf_library_path_list $cf_search" for cf_libdir in $cf_search do - echo "$as_me:24784: checking for -l$cf_nculib_root in $cf_libdir" >&5 + echo "$as_me:24896: checking for -l$cf_nculib_root in $cf_libdir" >&5 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6 LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 24788 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 24900 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -24796,41 +24908,41 @@ initscr() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24800: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:24912: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24803: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24806: \"$ac_try\"") >&5 + echo "$as_me:24915: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:24918: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24809: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:24811: result: yes" >&5 + echo "$as_me:24921: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:24923: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:24818: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:24930: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_save_LIBS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root +eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" -if test $cf_found_library = no ; then - { { echo "$as_me:24833: error: Cannot link $cf_nculib_root library" >&5 +if test "$cf_found_library" = no ; then + { { echo "$as_me:24945: error: Cannot link $cf_nculib_root library" >&5 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} { (exit 1); exit 1; }; } fi @@ -24838,17 +24950,17 @@ fi fi if test -n "$cf_ncurses_LIBS" ; then - echo "$as_me:24841: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 + echo "$as_me:24953: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6 cf_ncurses_SAVE="$LIBS" for p in $cf_ncurses_LIBS ; do - q=`echo $LIBS | sed -e "s%$p %%" -e "s%$p$%%"` + q=`echo "$LIBS" | sed -e "s%$p %%" -e "s%$p$%%"` if test "$q" != "$LIBS" ; then LIBS="$q" fi done - cat >conftest.$ac_ext <<_ACEOF -#line 24851 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 24963 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -24859,28 +24971,28 @@ initscr(); mousemask(0,0); tgoto((char *)0, 0, 0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24863: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:24975: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24866: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24869: \"$ac_try\"") >&5 + echo "$as_me:24978: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:24981: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24872: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:24874: result: yes" >&5 + echo "$as_me:24984: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:24986: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:24879: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:24991: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_ncurses_SAVE" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi cf_nculib_ROOT=`echo "HAVE_LIB$cf_nculib_root" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -24902,13 +25014,13 @@ cf_ncuconfig_root=$cf_cv_screen cf_have_ncuconfig=no if test "x${PKG_CONFIG:=none}" != xnone; then - echo "$as_me:24905: checking pkg-config for $cf_ncuconfig_root" >&5 + echo "$as_me:25017: checking pkg-config for $cf_ncuconfig_root" >&5 echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then - echo "$as_me:24908: result: yes" >&5 + echo "$as_me:25020: result: yes" >&5 echo "${ECHO_T}yes" >&6 - echo "$as_me:24911: checking if the $cf_ncuconfig_root package files work" >&5 + echo "$as_me:25023: checking if the $cf_ncuconfig_root package files work" >&5 echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 cf_have_ncuconfig=unknown @@ -24916,8 +25028,8 @@ echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" cf_save_CPPFLAGS="$CPPFLAGS" cf_save_LIBS="$LIBS" - cf_pkg_cflags=`$PKG_CONFIG --cflags $cf_ncuconfig_root` - cf_pkg_libs=`$PKG_CONFIG --libs $cf_ncuconfig_root` + cf_pkg_cflags="`$PKG_CONFIG --cflags $cf_ncuconfig_root`" + cf_pkg_libs="`$PKG_CONFIG --libs $cf_ncuconfig_root`" # while -W for passing linker flags is prevalent, it is not "standard". # At least one wrapper for c89/c99 (in Apple's xcode) has its own @@ -24933,19 +25045,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkg_cflags do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -24964,7 +25076,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -24994,7 +25106,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -25040,8 +25152,8 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" - cat >conftest.$ac_ext <<_ACEOF -#line 25044 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 25156 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -25052,54 +25164,54 @@ initscr(); mousemask(0,0); tgoto((char *)0, 0, 0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:25056: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:25168: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:25059: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:25062: \"$ac_try\"") >&5 + echo "$as_me:25171: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:25174: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25065: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:25177: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then if test "$cross_compiling" = yes; then cf_test_ncuconfig=maybe else - cat >conftest.$ac_ext <<_ACEOF -#line 25071 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 25183 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int main(void) { char *xx = curses_version(); return (xx == 0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:25078: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:25190: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:25081: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:25083: \"$ac_try\"") >&5 + echo "$as_me:25193: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:25195: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25086: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:25198: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_test_ncuconfig=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_test_ncuconfig=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_test_ncuconfig=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" CFLAGS="$cf_save_CFLAGS" CPPFLAGS="$cf_save_CPPFLAGS" @@ -25121,19 +25233,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkg_cflags do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -25152,7 +25264,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -25182,7 +25294,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -25228,8 +25340,8 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" - cat >conftest.$ac_ext <<_ACEOF -#line 25232 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 25344 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -25240,55 +25352,55 @@ initscr(); mousemask(0,0); tgoto((char *)0, 0, 0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:25244: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:25356: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:25247: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:25250: \"$ac_try\"") >&5 + echo "$as_me:25359: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:25362: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25253: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:25365: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then if test "$cross_compiling" = yes; then cf_have_ncuconfig=maybe else - cat >conftest.$ac_ext <<_ACEOF -#line 25259 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 25371 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int main(void) { char *xx = curses_version(); return (xx == 0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:25266: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:25378: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:25269: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:25271: \"$ac_try\"") >&5 + echo "$as_me:25381: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:25383: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25274: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:25386: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_have_ncuconfig=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_ncuconfig=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_ncuconfig=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:25291: result: $cf_have_ncuconfig" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + echo "$as_me:25403: result: $cf_have_ncuconfig" >&5 echo "${ECHO_T}$cf_have_ncuconfig" >&6 test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes if test "$cf_have_ncuconfig" != "yes" @@ -25304,13 +25416,13 @@ EOF NCURSES_CONFIG_PKG=$cf_ncuconfig_root -echo "$as_me:25307: checking for terminfo header" >&5 +echo "$as_me:25419: checking for terminfo header" >&5 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 if test "${cf_cv_term_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -case ${cf_cv_ncurses_header} in +case "${cf_cv_ncurses_header}" in (*/ncurses.h|*/ncursesw.h) cf_term_header=`echo "$cf_cv_ncurses_header" | sed -e 's%ncurses[^.]*\.h$%term.h%'` ;; @@ -25321,8 +25433,8 @@ esac for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" do -cat >conftest.$ac_ext <<_ACEOF -#line 25325 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 25437 "configure" #include "confdefs.h" #include <stdio.h> #include <${cf_cv_ncurses_header:-curses.h}> @@ -25336,38 +25448,38 @@ int x = auto_left_margin; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:25340: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:25452: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25343: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:25346: \"$ac_try\"") >&5 + echo "$as_me:25455: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:25458: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25349: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:25461: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_term_header="$cf_test" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_term_header=unknown fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" test "$cf_cv_term_header" != unknown && break done fi -echo "$as_me:25365: result: $cf_cv_term_header" >&5 +echo "$as_me:25477: result: $cf_cv_term_header" >&5 echo "${ECHO_T}$cf_cv_term_header" >&6 # Set definitions to allow ifdef'ing to accommodate subdirectories -case $cf_cv_term_header in +case "$cf_cv_term_header" in (*term.h) cat >>confdefs.h <<\EOF @@ -25377,7 +25489,7 @@ EOF ;; esac -case $cf_cv_term_header in +case "$cf_cv_term_header" in (ncurses/term.h) cat >>confdefs.h <<\EOF @@ -25397,7 +25509,7 @@ esac fi else - echo "$as_me:25400: result: no" >&5 + echo "$as_me:25512: result: no" >&5 echo "${ECHO_T}no" >&6 NCURSES_CONFIG_PKG=none fi @@ -25413,7 +25525,7 @@ if test -n "$ac_tool_prefix"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:25416: checking for $ac_word" >&5 +echo "$as_me:25528: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -25428,7 +25540,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog" -echo "$as_me:25431: found $ac_dir/$ac_word" >&5 +echo "$as_me:25543: found $ac_dir/$ac_word" >&5 break done @@ -25436,10 +25548,10 @@ fi fi NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG if test -n "$NCURSES_CONFIG"; then - echo "$as_me:25439: result: $NCURSES_CONFIG" >&5 + echo "$as_me:25551: result: $NCURSES_CONFIG" >&5 echo "${ECHO_T}$NCURSES_CONFIG" >&6 else - echo "$as_me:25442: result: no" >&5 + echo "$as_me:25554: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -25452,7 +25564,7 @@ if test -z "$NCURSES_CONFIG"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:25455: checking for $ac_word" >&5 +echo "$as_me:25567: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_NCURSES_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -25467,7 +25579,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog" -echo "$as_me:25470: found $ac_dir/$ac_word" >&5 +echo "$as_me:25582: found $ac_dir/$ac_word" >&5 break done @@ -25475,10 +25587,10 @@ fi fi ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG if test -n "$ac_ct_NCURSES_CONFIG"; then - echo "$as_me:25478: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "$as_me:25590: result: $ac_ct_NCURSES_CONFIG" >&5 echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 else - echo "$as_me:25481: result: no" >&5 + echo "$as_me:25593: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -25498,19 +25610,19 @@ cf_new_extra_cppflags= for cf_add_cflags in `$NCURSES_CONFIG --cflags` do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -25529,7 +25641,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -25559,7 +25671,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -25607,7 +25719,7 @@ LIBS="$cf_add_libs" # even with config script, some packages use no-override for curses.h -echo "$as_me:25610: checking if we have identified curses headers" >&5 +echo "$as_me:25722: checking if we have identified curses headers" >&5 echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 if test "${cf_cv_ncurses_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -25618,8 +25730,8 @@ for cf_header in \ ncurses.h $cf_cv_screen/ncurses.h \ curses.h $cf_cv_screen/curses.h do -cat >conftest.$ac_ext <<_ACEOF -#line 25622 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 25734 "configure" #include "confdefs.h" #include <${cf_header}> int @@ -25630,32 +25742,32 @@ initscr(); tgoto("?", 0,0) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:25634: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:25746: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25637: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:25640: \"$ac_try\"") >&5 + echo "$as_me:25749: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:25752: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25643: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:25755: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_header=$cf_header; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:25654: result: $cf_cv_ncurses_header" >&5 +echo "$as_me:25766: result: $cf_cv_ncurses_header" >&5 echo "${ECHO_T}$cf_cv_ncurses_header" >&6 if test "$cf_cv_ncurses_header" = none ; then - { { echo "$as_me:25658: error: No curses header-files found" >&5 + { { echo "$as_me:25770: error: No curses header-files found" >&5 echo "$as_me: error: No curses header-files found" >&2;} { (exit 1); exit 1; }; } fi @@ -25665,24 +25777,24 @@ fi for ac_header in $cf_cv_ncurses_header do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:25668: checking for $ac_header" >&5 +echo "$as_me:25780: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 25674 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 25786 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:25678: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:25790: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:25684: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:25796: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -25695,14 +25807,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:25703: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:25815: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -25720,7 +25832,7 @@ cf_nculib_ROOT=`echo "HAVE_LIB$cf_ncuconfig_root" | sed y%abcdefghijklmnopqrstuv #define $cf_nculib_ROOT 1 EOF - cf_cv_ncurses_version=`$NCURSES_CONFIG --version` + cf_cv_ncurses_version="`$NCURSES_CONFIG --version`" else @@ -25732,9 +25844,9 @@ test "$cf_cv_curses_dir" != "no" && { \ if test -n "$cf_cv_curses_dir/include/$cf_ncuhdr_root" ; then for cf_add_incdir in $cf_cv_curses_dir/include/$cf_ncuhdr_root do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -25755,8 +25867,8 @@ if test -n "$cf_cv_curses_dir/include/$cf_ncuhdr_root" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 25759 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 25871 "configure" #include "confdefs.h" #include <stdio.h> int @@ -25767,25 +25879,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:25771: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:25883: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25774: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:25777: \"$ac_try\"") >&5 + echo "$as_me:25886: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:25889: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25780: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:25892: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -25794,11 +25906,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:25797: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:25909: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -25813,19 +25925,19 @@ fi } -echo "$as_me:25816: checking for $cf_ncuhdr_root header in include-path" >&5 +echo "$as_me:25928: checking for $cf_ncuhdr_root header in include-path" >&5 echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6 if test "${cf_cv_ncurses_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cf_header_list="$cf_ncuhdr_root/curses.h $cf_ncuhdr_root/ncurses.h" - ( test "$cf_ncuhdr_root" = ncurses || test "$cf_ncuhdr_root" = ncursesw ) && cf_header_list="$cf_header_list curses.h ncurses.h" + { test "$cf_ncuhdr_root" = ncurses || test "$cf_ncuhdr_root" = ncursesw; } && cf_header_list="$cf_header_list curses.h ncurses.h" for cf_header in $cf_header_list do - cat >conftest.$ac_ext <<_ACEOF -#line 25828 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 25940 "configure" #include "confdefs.h" #include <$cf_header> @@ -25835,10 +25947,10 @@ main (void) #ifdef NCURSES_VERSION -printf("%s\n", NCURSES_VERSION); +printf("%s\\n", NCURSES_VERSION); #else #ifdef __NCURSES_H -printf("old\n"); +printf("old\\n"); #else make an error #endif @@ -25848,39 +25960,39 @@ printf("old\n"); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:25852: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:25964: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25855: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:25858: \"$ac_try\"") >&5 + echo "$as_me:25967: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:25970: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25861: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:25973: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_h=$cf_header else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_ncurses_h=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" test "$cf_cv_ncurses_h" != no && break done fi -echo "$as_me:25876: result: $cf_cv_ncurses_h" >&5 +echo "$as_me:25988: result: $cf_cv_ncurses_h" >&5 echo "${ECHO_T}$cf_cv_ncurses_h" >&6 if test "$cf_cv_ncurses_h" != no ; then cf_cv_ncurses_header=$cf_cv_ncurses_h else -echo "$as_me:25883: checking for $cf_ncuhdr_root include-path" >&5 +echo "$as_me:25995: checking for $cf_ncuhdr_root include-path" >&5 echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6 if test "${cf_cv_ncurses_h2+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -25895,7 +26007,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -25903,11 +26015,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/$cf_ncuhdr_root && cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root" - test -d $cf_header_path/include/$cf_ncuhdr_root/include && cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root/include" - test -d $cf_header_path/$cf_ncuhdr_root/include && cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include" - test -d $cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root && cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/$cf_ncuhdr_root" && cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root" + test -d "$cf_header_path/include/$cf_ncuhdr_root/include" && cf_search="$cf_search $cf_header_path/include/$cf_ncuhdr_root/include" + test -d "$cf_header_path/$cf_ncuhdr_root/include" && cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include" + test -d "$cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root" && cf_search="$cf_search $cf_header_path/$cf_ncuhdr_root/include/$cf_ncuhdr_root" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -25924,11 +26036,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/$cf_ncuhdr_root && cf_search="$cf_search $prefix/include/$cf_ncuhdr_root" - test -d $prefix/include/$cf_ncuhdr_root/include && cf_search="$cf_search $prefix/include/$cf_ncuhdr_root/include" - test -d $prefix/$cf_ncuhdr_root/include && cf_search="$cf_search $prefix/$cf_ncuhdr_root/include" - test -d $prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root && cf_search="$cf_search $prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/$cf_ncuhdr_root" && cf_search="$cf_search $prefix/include/$cf_ncuhdr_root" + test -d "$prefix/include/$cf_ncuhdr_root/include" && cf_search="$cf_search $prefix/include/$cf_ncuhdr_root/include" + test -d "$prefix/$cf_ncuhdr_root/include" && cf_search="$cf_search $prefix/$cf_ncuhdr_root/include" + test -d "$prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" && cf_search="$cf_search $prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" } for cf_subdir_prefix in \ @@ -25942,13 +26054,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/$cf_ncuhdr_root && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ncuhdr_root" - test -d $cf_subdir_prefix/include/$cf_ncuhdr_root/include && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ncuhdr_root/include" - test -d $cf_subdir_prefix/$cf_ncuhdr_root/include && cf_search="$cf_search $cf_subdir_prefix/$cf_ncuhdr_root/include" - test -d $cf_subdir_prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root && cf_search="$cf_search $cf_subdir_prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/$cf_ncuhdr_root" && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ncuhdr_root" + test -d "$cf_subdir_prefix/include/$cf_ncuhdr_root/include" && cf_search="$cf_search $cf_subdir_prefix/include/$cf_ncuhdr_root/include" + test -d "$cf_subdir_prefix/$cf_ncuhdr_root/include" && cf_search="$cf_search $cf_subdir_prefix/$cf_ncuhdr_root/include" + test -d "$cf_subdir_prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" && cf_search="$cf_search $cf_subdir_prefix/$cf_ncuhdr_root/include/$cf_ncuhdr_root" } done @@ -25956,20 +26068,20 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/$cf_ncuhdr_root && cf_search="$cf_search $includedir/$cf_ncuhdr_root" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/$cf_ncuhdr_root" && cf_search="$cf_search $includedir/$cf_ncuhdr_root" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/$cf_ncuhdr_root && cf_search="$cf_search $oldincludedir/$cf_ncuhdr_root" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/$cf_ncuhdr_root" && cf_search="$cf_search $oldincludedir/$cf_ncuhdr_root" } cf_search="$cf_search $cf_header_path_list" - test -n "$verbose" && echo search path $cf_search + test -n "$verbose" && echo "search path $cf_search" cf_save2_CPPFLAGS="$CPPFLAGS" for cf_incdir in $cf_search do @@ -25977,9 +26089,9 @@ cf_search="$cf_search $cf_header_path_list" if test -n "$cf_incdir" ; then for cf_add_incdir in $cf_incdir do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -26000,8 +26112,8 @@ if test -n "$cf_incdir" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 26004 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 26116 "configure" #include "confdefs.h" #include <stdio.h> int @@ -26012,25 +26124,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:26016: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:26128: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26019: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:26022: \"$ac_try\"") >&5 + echo "$as_me:26131: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:26134: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26025: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26137: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -26039,11 +26151,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:26042: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:26154: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -26061,8 +26173,8 @@ fi curses.h do - cat >conftest.$ac_ext <<_ACEOF -#line 26065 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 26177 "configure" #include "confdefs.h" #include <$cf_header> @@ -26072,10 +26184,10 @@ main (void) #ifdef NCURSES_VERSION -printf("%s\n", NCURSES_VERSION); +printf("%s\\n", NCURSES_VERSION); #else #ifdef __NCURSES_H -printf("old\n"); +printf("old\\n"); #else make an error #endif @@ -26085,26 +26197,26 @@ printf("old\n"); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:26089: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:26201: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26092: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:26095: \"$ac_try\"") >&5 + echo "$as_me:26204: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:26207: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26098: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26210: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_h2=$cf_header else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_ncurses_h2=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" if test "$cf_cv_ncurses_h2" != no ; then cf_cv_ncurses_h2=$cf_incdir/$cf_header @@ -26116,26 +26228,26 @@ rm -f conftest.$ac_objext conftest.$ac_ext CPPFLAGS="$cf_save2_CPPFLAGS" test "$cf_cv_ncurses_h2" != no && break done - test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:26119: error: not found" >&5 + test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:26231: error: not found" >&5 echo "$as_me: error: not found" >&2;} { (exit 1); exit 1; }; } fi -echo "$as_me:26124: result: $cf_cv_ncurses_h2" >&5 +echo "$as_me:26236: result: $cf_cv_ncurses_h2" >&5 echo "${ECHO_T}$cf_cv_ncurses_h2" >&6 - cf_1st_incdir=`echo $cf_cv_ncurses_h2 | sed -e 's%/[^/]*$%%'` - cf_cv_ncurses_header=`basename $cf_cv_ncurses_h2` - if test `basename $cf_1st_incdir` = $cf_ncuhdr_root ; then - cf_cv_ncurses_header=$cf_ncuhdr_root/$cf_cv_ncurses_header + cf_1st_incdir=`echo "$cf_cv_ncurses_h2" | sed -e 's%/[^/]*$%%'` + cf_cv_ncurses_header="`basename "$cf_cv_ncurses_h2"`" + if test "`basename "$cf_1st_incdir"`" = "$cf_ncuhdr_root" ; then + cf_cv_ncurses_header="$cf_ncuhdr_root/$cf_cv_ncurses_header" fi if test -n "$cf_1st_incdir" ; then for cf_add_incdir in $cf_1st_incdir do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -26156,8 +26268,8 @@ if test -n "$cf_1st_incdir" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 26160 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 26272 "configure" #include "confdefs.h" #include <stdio.h> int @@ -26168,25 +26280,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:26172: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:26284: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26175: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:26178: \"$ac_try\"") >&5 + echo "$as_me:26287: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:26290: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26181: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26293: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -26195,11 +26307,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:26198: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:26310: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -26216,7 +26328,7 @@ fi # Set definitions to allow ifdef'ing for ncurses.h -case $cf_cv_ncurses_header in +case "$cf_cv_ncurses_header" in (*ncurses.h) cat >>confdefs.h <<\EOF @@ -26226,7 +26338,7 @@ EOF ;; esac -case $cf_cv_ncurses_header in +case "$cf_cv_ncurses_header" in (ncurses/curses.h|ncurses/ncurses.h) cat >>confdefs.h <<\EOF @@ -26243,13 +26355,13 @@ EOF ;; esac -echo "$as_me:26246: checking for terminfo header" >&5 +echo "$as_me:26358: checking for terminfo header" >&5 echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 if test "${cf_cv_term_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -case ${cf_cv_ncurses_header} in +case "${cf_cv_ncurses_header}" in (*/ncurses.h|*/ncursesw.h) cf_term_header=`echo "$cf_cv_ncurses_header" | sed -e 's%ncurses[^.]*\.h$%term.h%'` ;; @@ -26260,8 +26372,8 @@ esac for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" do -cat >conftest.$ac_ext <<_ACEOF -#line 26264 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 26376 "configure" #include "confdefs.h" #include <stdio.h> #include <${cf_cv_ncurses_header:-curses.h}> @@ -26275,38 +26387,38 @@ int x = auto_left_margin; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:26279: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:26391: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26282: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:26285: \"$ac_try\"") >&5 + echo "$as_me:26394: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:26397: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26288: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26400: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_term_header="$cf_test" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_term_header=unknown fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" test "$cf_cv_term_header" != unknown && break done fi -echo "$as_me:26304: result: $cf_cv_term_header" >&5 +echo "$as_me:26416: result: $cf_cv_term_header" >&5 echo "${ECHO_T}$cf_cv_term_header" >&6 # Set definitions to allow ifdef'ing to accommodate subdirectories -case $cf_cv_term_header in +case "$cf_cv_term_header" in (*term.h) cat >>confdefs.h <<\EOF @@ -26316,7 +26428,7 @@ EOF ;; esac -case $cf_cv_term_header in +case "$cf_cv_term_header" in (ncurses/term.h) cat >>confdefs.h <<\EOF @@ -26339,7 +26451,7 @@ cat >>confdefs.h <<\EOF #define NCURSES 1 EOF -echo "$as_me:26342: checking for ncurses version" >&5 +echo "$as_me:26454: checking for ncurses version" >&5 echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 if test "${cf_cv_ncurses_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -26347,12 +26459,12 @@ else cf_cv_ncurses_version=no cf_tempfile=out$$ - rm -f $cf_tempfile + rm -f "$cf_tempfile" if test "$cross_compiling" = yes; then # This will not work if the preprocessor splits the line after the # Autoconf token. The 'unproto' program does that. - cat > conftest.$ac_ext <<EOF + cat > "conftest.$ac_ext" <<EOF #include <${cf_cv_ncurses_header:-curses.h}> #undef Autoconf #ifdef NCURSES_VERSION @@ -26365,20 +26477,20 @@ Autoconf "old" #endif EOF cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" - { (eval echo "$as_me:26368: \"$cf_try\"") >&5 + { (eval echo "$as_me:26480: \"$cf_try\"") >&5 (eval $cf_try) 2>&5 ac_status=$? - echo "$as_me:26371: \$? = $ac_status" >&5 - (exit $ac_status); } + echo "$as_me:26483: \$? = $ac_status" >&5 + (exit "$ac_status"); } if test -f conftest.out ; then - cf_out=`cat conftest.out | sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%'` + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` test -n "$cf_out" && cf_cv_ncurses_version="$cf_out" rm -f conftest.out fi else - cat >conftest.$ac_ext <<_ACEOF -#line 26381 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 26493 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -26388,13 +26500,13 @@ int main(void) FILE *fp = fopen("$cf_tempfile", "w"); #ifdef NCURSES_VERSION # ifdef NCURSES_VERSION_PATCH - fprintf(fp, "%s.%d\n", NCURSES_VERSION, NCURSES_VERSION_PATCH); + fprintf(fp, "%s.%d\\n", NCURSES_VERSION, NCURSES_VERSION_PATCH); # else - fprintf(fp, "%s\n", NCURSES_VERSION); + fprintf(fp, "%s\\n", NCURSES_VERSION); # endif #else # ifdef __NCURSES_H - fprintf(fp, "old\n"); + fprintf(fp, "old\\n"); # else make an error # endif @@ -26402,30 +26514,30 @@ int main(void) ${cf_cv_main_return:-return}(0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:26406: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:26518: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26409: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:26411: \"$ac_try\"") >&5 + echo "$as_me:26521: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:26523: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26414: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26526: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_version=`cat $cf_tempfile` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi - rm -f $cf_tempfile + rm -f "$cf_tempfile" fi -echo "$as_me:26428: result: $cf_cv_ncurses_version" >&5 +echo "$as_me:26540: result: $cf_cv_ncurses_version" >&5 echo "${ECHO_T}$cf_cv_ncurses_version" >&6 test "$cf_cv_ncurses_version" = no || cat >>confdefs.h <<\EOF @@ -26438,15 +26550,15 @@ cf_nculib_root=$cf_cv_screen # to link gpm. cf_ncurses_LIBS="" cf_ncurses_SAVE="$LIBS" -echo "$as_me:26441: checking for Gpm_Open in -lgpm" >&5 +echo "$as_me:26553: checking for Gpm_Open in -lgpm" >&5 echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgpm $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 26449 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 26561 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -26464,39 +26576,39 @@ Gpm_Open (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:26468: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:26580: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26471: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:26474: \"$ac_try\"") >&5 + echo "$as_me:26583: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:26586: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26477: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26589: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_gpm_Gpm_Open=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_gpm_Gpm_Open=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:26488: result: $ac_cv_lib_gpm_Gpm_Open" >&5 +echo "$as_me:26600: result: $ac_cv_lib_gpm_Gpm_Open" >&5 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 -if test $ac_cv_lib_gpm_Gpm_Open = yes; then - echo "$as_me:26491: checking for initscr in -lgpm" >&5 +if test "$ac_cv_lib_gpm_Gpm_Open" = yes; then + echo "$as_me:26603: checking for initscr in -lgpm" >&5 echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6 if test "${ac_cv_lib_gpm_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgpm $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 26499 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 26611 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -26514,30 +26626,30 @@ initscr (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:26518: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:26630: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26521: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:26524: \"$ac_try\"") >&5 + echo "$as_me:26633: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:26636: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26527: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26639: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_gpm_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_gpm_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:26538: result: $ac_cv_lib_gpm_initscr" >&5 +echo "$as_me:26650: result: $ac_cv_lib_gpm_initscr" >&5 echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6 -if test $ac_cv_lib_gpm_initscr = yes; then +if test "$ac_cv_lib_gpm_initscr" = yes; then LIBS="$cf_ncurses_SAVE" else cf_ncurses_LIBS="-lgpm" @@ -26545,20 +26657,20 @@ fi fi -case $host_os in +case "$host_os" in (freebsd*) # This is only necessary if you are linking against an obsolete # version of ncurses (but it should do no harm, since it's static). if test "$cf_nculib_root" = ncurses ; then - echo "$as_me:26553: checking for tgoto in -lmytinfo" >&5 + echo "$as_me:26665: checking for tgoto in -lmytinfo" >&5 echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lmytinfo $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 26561 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 26673 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -26576,30 +26688,30 @@ tgoto (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:26580: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:26692: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26583: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:26586: \"$ac_try\"") >&5 + echo "$as_me:26695: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:26698: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26589: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26701: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_mytinfo_tgoto=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_mytinfo_tgoto=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:26600: result: $ac_cv_lib_mytinfo_tgoto" >&5 +echo "$as_me:26712: result: $ac_cv_lib_mytinfo_tgoto" >&5 echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 -if test $ac_cv_lib_mytinfo_tgoto = yes; then +if test "$ac_cv_lib_mytinfo_tgoto" = yes; then cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS" fi @@ -26623,7 +26735,7 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" -if ( test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" ) +if test -n "$cf_cv_curses_dir" && test "$cf_cv_curses_dir" != "no" then cf_add_libs="$LIBS" @@ -26644,15 +26756,15 @@ LIBS="$cf_add_libs" else - eval 'cf_cv_have_lib_'$cf_nculib_root'=no' + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' cf_libdir="" - echo "$as_me:26649: checking for initscr" >&5 + echo "$as_me:26761: checking for initscr" >&5 echo $ECHO_N "checking for initscr... $ECHO_C" >&6 if test "${ac_cv_func_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 26655 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 26767 "configure" #include "confdefs.h" #define initscr autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -26682,38 +26794,38 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:26686: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:26798: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26689: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:26692: \"$ac_try\"") >&5 + echo "$as_me:26801: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:26804: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26695: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:26807: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:26705: result: $ac_cv_func_initscr" >&5 +echo "$as_me:26817: result: $ac_cv_func_initscr" >&5 echo "${ECHO_T}$ac_cv_func_initscr" >&6 -if test $ac_cv_func_initscr = yes; then - eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' +if test "$ac_cv_func_initscr" = yes; then + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' else cf_save_LIBS="$LIBS" - echo "$as_me:26712: checking for initscr in -l$cf_nculib_root" >&5 + echo "$as_me:26824: checking for initscr in -l$cf_nculib_root" >&5 echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6 LIBS="-l$cf_nculib_root $LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 26716 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 26828 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -26724,26 +26836,26 @@ initscr() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:26728: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:26840: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26731: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:26734: \"$ac_try\"") >&5 + echo "$as_me:26843: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:26846: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26737: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:26739: result: yes" >&5 + echo "$as_me:26849: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:26851: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:26746: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:26858: result: no" >&5 echo "${ECHO_T}no" >&6 cf_search= @@ -26751,7 +26863,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -26759,11 +26871,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/$cf_nculib_root && cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root" - test -d $cf_library_path/lib/$cf_nculib_root/lib && cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root/lib" - test -d $cf_library_path/$cf_nculib_root/lib && cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib" - test -d $cf_library_path/$cf_nculib_root/lib/$cf_nculib_root && cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib/$cf_nculib_root" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/$cf_nculib_root" && cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root" + test -d "$cf_library_path/lib/$cf_nculib_root/lib" && cf_search="$cf_search $cf_library_path/lib/$cf_nculib_root/lib" + test -d "$cf_library_path/$cf_nculib_root/lib" && cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib" + test -d "$cf_library_path/$cf_nculib_root/lib/$cf_nculib_root" && cf_search="$cf_search $cf_library_path/$cf_nculib_root/lib/$cf_nculib_root" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -26778,11 +26890,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/$cf_nculib_root && cf_search="$cf_search $prefix/lib/$cf_nculib_root" - test -d $prefix/lib/$cf_nculib_root/lib && cf_search="$cf_search $prefix/lib/$cf_nculib_root/lib" - test -d $prefix/$cf_nculib_root/lib && cf_search="$cf_search $prefix/$cf_nculib_root/lib" - test -d $prefix/$cf_nculib_root/lib/$cf_nculib_root && cf_search="$cf_search $prefix/$cf_nculib_root/lib/$cf_nculib_root" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/$cf_nculib_root" && cf_search="$cf_search $prefix/lib/$cf_nculib_root" + test -d "$prefix/lib/$cf_nculib_root/lib" && cf_search="$cf_search $prefix/lib/$cf_nculib_root/lib" + test -d "$prefix/$cf_nculib_root/lib" && cf_search="$cf_search $prefix/$cf_nculib_root/lib" + test -d "$prefix/$cf_nculib_root/lib/$cf_nculib_root" && cf_search="$cf_search $prefix/$cf_nculib_root/lib/$cf_nculib_root" } for cf_subdir_prefix in \ @@ -26796,13 +26908,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/$cf_nculib_root && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_nculib_root" - test -d $cf_subdir_prefix/lib/$cf_nculib_root/lib && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_nculib_root/lib" - test -d $cf_subdir_prefix/$cf_nculib_root/lib && cf_search="$cf_search $cf_subdir_prefix/$cf_nculib_root/lib" - test -d $cf_subdir_prefix/$cf_nculib_root/lib/$cf_nculib_root && cf_search="$cf_search $cf_subdir_prefix/$cf_nculib_root/lib/$cf_nculib_root" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/$cf_nculib_root" && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_nculib_root" + test -d "$cf_subdir_prefix/lib/$cf_nculib_root/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/$cf_nculib_root/lib" + test -d "$cf_subdir_prefix/$cf_nculib_root/lib" && cf_search="$cf_search $cf_subdir_prefix/$cf_nculib_root/lib" + test -d "$cf_subdir_prefix/$cf_nculib_root/lib/$cf_nculib_root" && cf_search="$cf_search $cf_subdir_prefix/$cf_nculib_root/lib/$cf_nculib_root" } done @@ -26811,11 +26923,11 @@ cf_search="$cf_library_path_list $cf_search" for cf_libdir in $cf_search do - echo "$as_me:26814: checking for -l$cf_nculib_root in $cf_libdir" >&5 + echo "$as_me:26926: checking for -l$cf_nculib_root in $cf_libdir" >&5 echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6 LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 26818 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 26930 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -26826,41 +26938,41 @@ initscr() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:26830: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:26942: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26833: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:26836: \"$ac_try\"") >&5 + echo "$as_me:26945: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:26948: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26839: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:26841: result: yes" >&5 + echo "$as_me:26951: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:26953: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'$cf_nculib_root'=yes' + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:26848: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:26960: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_save_LIBS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -eval 'cf_found_library=$cf_cv_have_lib_'$cf_nculib_root +eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" -if test $cf_found_library = no ; then - { { echo "$as_me:26863: error: Cannot link $cf_nculib_root library" >&5 +if test "$cf_found_library" = no ; then + { { echo "$as_me:26975: error: Cannot link $cf_nculib_root library" >&5 echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} { (exit 1); exit 1; }; } fi @@ -26868,17 +26980,17 @@ fi fi if test -n "$cf_ncurses_LIBS" ; then - echo "$as_me:26871: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 + echo "$as_me:26983: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6 cf_ncurses_SAVE="$LIBS" for p in $cf_ncurses_LIBS ; do - q=`echo $LIBS | sed -e "s%$p %%" -e "s%$p$%%"` + q=`echo "$LIBS" | sed -e "s%$p %%" -e "s%$p$%%"` if test "$q" != "$LIBS" ; then LIBS="$q" fi done - cat >conftest.$ac_ext <<_ACEOF -#line 26881 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 26993 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -26889,28 +27001,28 @@ initscr(); mousemask(0,0); tgoto((char *)0, 0, 0); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:26893: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27005: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26896: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:26899: \"$ac_try\"") >&5 + echo "$as_me:27008: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27011: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26902: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:26904: result: yes" >&5 + echo "$as_me:27014: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:27016: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:26909: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:27021: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_ncurses_SAVE" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi cf_nculib_ROOT=`echo "HAVE_LIB$cf_nculib_root" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -26926,7 +27038,7 @@ fi ;; (pdcurses) - case $host_os in + case "$host_os" in (mingw*) cf_cv_ncurses_header=curses.h ;; @@ -26938,41 +27050,41 @@ fi ;; (slang) -echo "$as_me:26941: checking for slang header file" >&5 +echo "$as_me:27053: checking for slang header file" >&5 echo $ECHO_N "checking for slang header file... $ECHO_C" >&6 if test "${cf_cv_slang_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cf_cv_slang_header=no - cat >conftest.$ac_ext <<_ACEOF -#line 26949 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27061 "configure" #include "confdefs.h" #include <slang.h> int main (void) { -printf("%s\n", SLANG_VERSION) +printf("%s\\n", SLANG_VERSION) ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:26961: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:27073: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26964: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:26967: \"$ac_try\"") >&5 + echo "$as_me:27076: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:27079: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26970: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27082: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_slang_header=predefined else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_search= @@ -26981,7 +27093,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -26989,11 +27101,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/slang && cf_search="$cf_search $cf_header_path/include/slang" - test -d $cf_header_path/include/slang/include && cf_search="$cf_search $cf_header_path/include/slang/include" - test -d $cf_header_path/slang/include && cf_search="$cf_search $cf_header_path/slang/include" - test -d $cf_header_path/slang/include/slang && cf_search="$cf_search $cf_header_path/slang/include/slang" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/slang" && cf_search="$cf_search $cf_header_path/include/slang" + test -d "$cf_header_path/include/slang/include" && cf_search="$cf_search $cf_header_path/include/slang/include" + test -d "$cf_header_path/slang/include" && cf_search="$cf_search $cf_header_path/slang/include" + test -d "$cf_header_path/slang/include/slang" && cf_search="$cf_search $cf_header_path/slang/include/slang" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -27010,11 +27122,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/slang && cf_search="$cf_search $prefix/include/slang" - test -d $prefix/include/slang/include && cf_search="$cf_search $prefix/include/slang/include" - test -d $prefix/slang/include && cf_search="$cf_search $prefix/slang/include" - test -d $prefix/slang/include/slang && cf_search="$cf_search $prefix/slang/include/slang" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/slang" && cf_search="$cf_search $prefix/include/slang" + test -d "$prefix/include/slang/include" && cf_search="$cf_search $prefix/include/slang/include" + test -d "$prefix/slang/include" && cf_search="$cf_search $prefix/slang/include" + test -d "$prefix/slang/include/slang" && cf_search="$cf_search $prefix/slang/include/slang" } for cf_subdir_prefix in \ @@ -27028,13 +27140,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/slang && cf_search="$cf_search $cf_subdir_prefix/include/slang" - test -d $cf_subdir_prefix/include/slang/include && cf_search="$cf_search $cf_subdir_prefix/include/slang/include" - test -d $cf_subdir_prefix/slang/include && cf_search="$cf_search $cf_subdir_prefix/slang/include" - test -d $cf_subdir_prefix/slang/include/slang && cf_search="$cf_search $cf_subdir_prefix/slang/include/slang" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/slang" && cf_search="$cf_search $cf_subdir_prefix/include/slang" + test -d "$cf_subdir_prefix/include/slang/include" && cf_search="$cf_search $cf_subdir_prefix/include/slang/include" + test -d "$cf_subdir_prefix/slang/include" && cf_search="$cf_search $cf_subdir_prefix/slang/include" + test -d "$cf_subdir_prefix/slang/include/slang" && cf_search="$cf_search $cf_subdir_prefix/slang/include/slang" } done @@ -27042,15 +27154,15 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/slang && cf_search="$cf_search $includedir/slang" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/slang" && cf_search="$cf_search $includedir/slang" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/slang && cf_search="$cf_search $oldincludedir/slang" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/slang" && cf_search="$cf_search $oldincludedir/slang" } cf_search="$cf_search $cf_header_path_list" @@ -27060,8 +27172,8 @@ cf_search="$cf_search $cf_header_path_list" for cf_header in \ slang.h do - echo trying $cf_incdir/$cf_header 1>&5 - if egrep "SLANG_VERSION" $cf_incdir/$cf_header 1>&5 2>&1; then + echo trying "$cf_incdir/$cf_header" 1>&5 + if egrep "SLANG_VERSION" "$cf_incdir/$cf_header" 1>&5 2>&1; then cf_cv_slang_header=$cf_incdir/$cf_header break fi @@ -27070,9 +27182,9 @@ cf_search="$cf_search $cf_header_path_list" done fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:27075: result: $cf_cv_slang_header" >&5 +echo "$as_me:27187: result: $cf_cv_slang_header" >&5 echo "${ECHO_T}$cf_cv_slang_header" >&6 if test "x$cf_cv_slang_header" != xno @@ -27082,9 +27194,9 @@ cat >>confdefs.h <<\EOF #define USE_SLANG 1 EOF - cf_incdir=`echo $cf_cv_slang_header | sed -e 's%/[^/]*$%%'` + cf_incdir=`echo "$cf_cv_slang_header" | sed -e 's%/[^/]*$%%'` - case $cf_cv_slang_header in + case "$cf_cv_slang_header" in (predefined) ;; (*) @@ -27092,9 +27204,9 @@ EOF if test -n "$cf_incdir" ; then for cf_add_incdir in $cf_incdir do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -27115,8 +27227,8 @@ if test -n "$cf_incdir" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 27119 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27231 "configure" #include "confdefs.h" #include <stdio.h> int @@ -27127,25 +27239,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:27131: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:27243: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:27134: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:27137: \"$ac_try\"") >&5 + echo "$as_me:27246: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:27249: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27140: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27252: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -27154,11 +27266,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:27157: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:27269: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -27185,8 +27297,8 @@ if test "${cf_cv_termlib+set}" = set; then else cf_cv_termlib=none -cat >conftest.$ac_ext <<_ACEOF -#line 27189 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 27301 "configure" #include "confdefs.h" int @@ -27197,20 +27309,20 @@ char *x=(char*)tgoto("",0,0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27201: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27313: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27204: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27207: \"$ac_try\"") >&5 + echo "$as_me:27316: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27319: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27210: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cat >conftest.$ac_ext <<_ACEOF -#line 27213 "configure" + echo "$as_me:27322: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cat >"conftest.$ac_ext" <<_ACEOF +#line 27325 "configure" #include "confdefs.h" int @@ -27221,32 +27333,32 @@ int x=tigetstr("") return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27225: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27337: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27228: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27231: \"$ac_try\"") >&5 + echo "$as_me:27340: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27343: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27234: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27346: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_termlib=terminfo else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_termlib=termcap fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" test -n "$verbose" && echo " using functions in predefined $cf_cv_termlib LIBS" 1>&6 -echo "${as_me:-configure}:27245: testing using functions in predefined $cf_cv_termlib LIBS ..." 1>&5 +echo "${as_me:-configure}:27357: testing using functions in predefined $cf_cv_termlib LIBS ..." 1>&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 if test "$cf_cv_termlib" = none; then # FreeBSD's linker gives bogus results for AC_CHECK_LIB, saying that @@ -27257,10 +27369,10 @@ if test "$cf_cv_termlib" = none; then LIBS="-l$cf_lib $cf_save_LIBS" for cf_func in tigetstr tgetstr do - echo "$as_me:27260: checking for $cf_func in -l$cf_lib" >&5 + echo "$as_me:27372: checking for $cf_func in -l$cf_lib" >&5 echo $ECHO_N "checking for $cf_func in -l$cf_lib... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 27263 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27375 "configure" #include "confdefs.h" int @@ -27271,26 +27383,26 @@ int x=$cf_func("") return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27275: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27387: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27278: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27281: \"$ac_try\"") >&5 + echo "$as_me:27390: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27393: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27284: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27396: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:27293: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + echo "$as_me:27405: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then if test "$cf_func" = tigetstr ; then @@ -27307,15 +27419,15 @@ echo "${ECHO_T}$cf_result" >&6 fi if test "$cf_cv_termlib" = none; then # allow curses library for broken AIX system. - echo "$as_me:27310: checking for initscr in -lcurses" >&5 + echo "$as_me:27422: checking for initscr in -lcurses" >&5 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6 if test "${ac_cv_lib_curses_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcurses $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 27318 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 27430 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -27333,30 +27445,30 @@ initscr (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27337: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27449: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27340: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27343: \"$ac_try\"") >&5 + echo "$as_me:27452: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27455: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27346: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27458: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_curses_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_curses_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:27357: result: $ac_cv_lib_curses_initscr" >&5 +echo "$as_me:27469: result: $ac_cv_lib_curses_initscr" >&5 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6 -if test $ac_cv_lib_curses_initscr = yes; then +if test "$ac_cv_lib_curses_initscr" = yes; then cf_add_libs="$LIBS" # reverse order @@ -27376,15 +27488,15 @@ LIBS="$cf_add_libs" fi - echo "$as_me:27379: checking for tgoto in -ltermcap" >&5 + echo "$as_me:27491: checking for tgoto in -ltermcap" >&5 echo $ECHO_N "checking for tgoto in -ltermcap... $ECHO_C" >&6 if test "${ac_cv_lib_termcap_tgoto+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ltermcap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 27387 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 27499 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -27402,30 +27514,30 @@ tgoto (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27406: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27518: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27409: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27412: \"$ac_try\"") >&5 + echo "$as_me:27521: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27524: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27415: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27527: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_termcap_tgoto=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_termcap_tgoto=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:27426: result: $ac_cv_lib_termcap_tgoto" >&5 +echo "$as_me:27538: result: $ac_cv_lib_termcap_tgoto" >&5 echo "${ECHO_T}$ac_cv_lib_termcap_tgoto" >&6 -if test $ac_cv_lib_termcap_tgoto = yes; then +if test "$ac_cv_lib_termcap_tgoto" = yes; then cf_add_libs="$LIBS" # reverse order @@ -27448,22 +27560,22 @@ fi fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" if test "$cf_cv_termlib" = none; then - { echo "$as_me:27453: WARNING: Cannot find -ltermlib, -lcurses, or -ltermcap" >&5 + { echo "$as_me:27565: WARNING: Cannot find -ltermlib, -lcurses, or -ltermcap" >&5 echo "$as_me: WARNING: Cannot find -ltermlib, -lcurses, or -ltermcap" >&2;} fi fi cf_slang_LIBS2="$LIBS" -echo "$as_me:27460: checking for acos" >&5 +echo "$as_me:27572: checking for acos" >&5 echo $ECHO_N "checking for acos... $ECHO_C" >&6 if test "${ac_cv_func_acos+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 27466 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27578 "configure" #include "confdefs.h" #define acos autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -27493,41 +27605,41 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27497: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27609: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27500: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27503: \"$ac_try\"") >&5 + echo "$as_me:27612: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27615: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27506: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27618: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_acos=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_acos=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:27516: result: $ac_cv_func_acos" >&5 +echo "$as_me:27628: result: $ac_cv_func_acos" >&5 echo "${ECHO_T}$ac_cv_func_acos" >&6 -if test $ac_cv_func_acos = yes; then +if test "$ac_cv_func_acos" = yes; then : else -echo "$as_me:27522: checking for acos in -lm" >&5 +echo "$as_me:27634: checking for acos in -lm" >&5 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6 if test "${ac_cv_lib_m_acos+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 27530 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 27642 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -27545,30 +27657,30 @@ acos (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27549: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27661: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27552: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27555: \"$ac_try\"") >&5 + echo "$as_me:27664: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27667: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27558: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27670: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_m_acos=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_m_acos=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:27569: result: $ac_cv_lib_m_acos" >&5 +echo "$as_me:27681: result: $ac_cv_lib_m_acos" >&5 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6 -if test $ac_cv_lib_m_acos = yes; then +if test "$ac_cv_lib_m_acos" = yes; then cf_tr_func=`echo "acos" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -27587,18 +27699,18 @@ fi fi -case $host_os in +case "$host_os" in (os2*) - eval 'cf_cv_have_lib_'video'=no' + eval 'cf_cv_have_lib_'"video"'=no' cf_libdir="" - echo "$as_me:27595: checking for v_init" >&5 + echo "$as_me:27707: checking for v_init" >&5 echo $ECHO_N "checking for v_init... $ECHO_C" >&6 if test "${ac_cv_func_v_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 27601 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27713 "configure" #include "confdefs.h" #define v_init autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -27628,38 +27740,38 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27632: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27744: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27635: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27638: \"$ac_try\"") >&5 + echo "$as_me:27747: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27750: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27641: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27753: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_v_init=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_v_init=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:27651: result: $ac_cv_func_v_init" >&5 +echo "$as_me:27763: result: $ac_cv_func_v_init" >&5 echo "${ECHO_T}$ac_cv_func_v_init" >&6 -if test $ac_cv_func_v_init = yes; then - eval 'cf_cv_have_lib_'video'=yes' +if test "$ac_cv_func_v_init" = yes; then + eval 'cf_cv_have_lib_'"video"'=yes' else cf_save_LIBS="$LIBS" - echo "$as_me:27658: checking for v_init in -lvideo" >&5 + echo "$as_me:27770: checking for v_init in -lvideo" >&5 echo $ECHO_N "checking for v_init in -lvideo... $ECHO_C" >&6 LIBS="-lvideo $LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 27662 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27774 "configure" #include "confdefs.h" #include <sys/video.h> int @@ -27670,26 +27782,26 @@ v_init() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27674: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27786: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27677: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27680: \"$ac_try\"") >&5 + echo "$as_me:27789: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27792: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27683: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:27685: result: yes" >&5 + echo "$as_me:27795: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:27797: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'video'=yes' + eval 'cf_cv_have_lib_'"video"'=yes' else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:27692: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:27804: result: no" >&5 echo "${ECHO_T}no" >&6 cf_search= @@ -27697,7 +27809,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -27705,11 +27817,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/video && cf_search="$cf_search $cf_library_path/lib/video" - test -d $cf_library_path/lib/video/lib && cf_search="$cf_search $cf_library_path/lib/video/lib" - test -d $cf_library_path/video/lib && cf_search="$cf_search $cf_library_path/video/lib" - test -d $cf_library_path/video/lib/video && cf_search="$cf_search $cf_library_path/video/lib/video" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/video" && cf_search="$cf_search $cf_library_path/lib/video" + test -d "$cf_library_path/lib/video/lib" && cf_search="$cf_search $cf_library_path/lib/video/lib" + test -d "$cf_library_path/video/lib" && cf_search="$cf_search $cf_library_path/video/lib" + test -d "$cf_library_path/video/lib/video" && cf_search="$cf_search $cf_library_path/video/lib/video" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -27724,11 +27836,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/video && cf_search="$cf_search $prefix/lib/video" - test -d $prefix/lib/video/lib && cf_search="$cf_search $prefix/lib/video/lib" - test -d $prefix/video/lib && cf_search="$cf_search $prefix/video/lib" - test -d $prefix/video/lib/video && cf_search="$cf_search $prefix/video/lib/video" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/video" && cf_search="$cf_search $prefix/lib/video" + test -d "$prefix/lib/video/lib" && cf_search="$cf_search $prefix/lib/video/lib" + test -d "$prefix/video/lib" && cf_search="$cf_search $prefix/video/lib" + test -d "$prefix/video/lib/video" && cf_search="$cf_search $prefix/video/lib/video" } for cf_subdir_prefix in \ @@ -27742,13 +27854,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/video && cf_search="$cf_search $cf_subdir_prefix/lib/video" - test -d $cf_subdir_prefix/lib/video/lib && cf_search="$cf_search $cf_subdir_prefix/lib/video/lib" - test -d $cf_subdir_prefix/video/lib && cf_search="$cf_search $cf_subdir_prefix/video/lib" - test -d $cf_subdir_prefix/video/lib/video && cf_search="$cf_search $cf_subdir_prefix/video/lib/video" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/video" && cf_search="$cf_search $cf_subdir_prefix/lib/video" + test -d "$cf_subdir_prefix/lib/video/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/video/lib" + test -d "$cf_subdir_prefix/video/lib" && cf_search="$cf_search $cf_subdir_prefix/video/lib" + test -d "$cf_subdir_prefix/video/lib/video" && cf_search="$cf_search $cf_subdir_prefix/video/lib/video" } done @@ -27757,11 +27869,11 @@ cf_search="$cf_library_path_list $cf_search" for cf_libdir in $cf_search do - echo "$as_me:27760: checking for -lvideo in $cf_libdir" >&5 + echo "$as_me:27872: checking for -lvideo in $cf_libdir" >&5 echo $ECHO_N "checking for -lvideo in $cf_libdir... $ECHO_C" >&6 LIBS="-L$cf_libdir -lvideo $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 27764 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27876 "configure" #include "confdefs.h" #include <sys/video.h> int @@ -27772,41 +27884,41 @@ v_init() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27776: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27888: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27779: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27782: \"$ac_try\"") >&5 + echo "$as_me:27891: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27894: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27785: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:27787: result: yes" >&5 + echo "$as_me:27897: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:27899: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'video'=yes' + eval 'cf_cv_have_lib_'"video"'=yes' break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:27794: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:27906: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_save_LIBS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -eval 'cf_found_library=$cf_cv_have_lib_'video +eval 'cf_found_library="$cf_cv_have_lib_'"video"\" -if test $cf_found_library = no ; then - { { echo "$as_me:27809: error: Cannot link video library" >&5 +if test "$cf_found_library" = no ; then + { { echo "$as_me:27921: error: Cannot link video library" >&5 echo "$as_me: error: Cannot link video library" >&2;} { (exit 1); exit 1; }; } fi @@ -27814,15 +27926,15 @@ fi ;; esac - eval 'cf_cv_have_lib_'slang'=no' + eval 'cf_cv_have_lib_'"slang"'=no' cf_libdir="" - echo "$as_me:27819: checking for SLtt_get_screen_size" >&5 + echo "$as_me:27931: checking for SLtt_get_screen_size" >&5 echo $ECHO_N "checking for SLtt_get_screen_size... $ECHO_C" >&6 if test "${ac_cv_func_SLtt_get_screen_size+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 27825 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27937 "configure" #include "confdefs.h" #define SLtt_get_screen_size autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -27852,38 +27964,38 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27856: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:27968: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27859: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27862: \"$ac_try\"") >&5 + echo "$as_me:27971: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:27974: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27865: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:27977: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_SLtt_get_screen_size=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_SLtt_get_screen_size=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:27875: result: $ac_cv_func_SLtt_get_screen_size" >&5 +echo "$as_me:27987: result: $ac_cv_func_SLtt_get_screen_size" >&5 echo "${ECHO_T}$ac_cv_func_SLtt_get_screen_size" >&6 -if test $ac_cv_func_SLtt_get_screen_size = yes; then - eval 'cf_cv_have_lib_'slang'=yes' +if test "$ac_cv_func_SLtt_get_screen_size" = yes; then + eval 'cf_cv_have_lib_'"slang"'=yes' else cf_save_LIBS="$LIBS" - echo "$as_me:27882: checking for SLtt_get_screen_size in -lslang" >&5 + echo "$as_me:27994: checking for SLtt_get_screen_size in -lslang" >&5 echo $ECHO_N "checking for SLtt_get_screen_size in -lslang... $ECHO_C" >&6 LIBS="-lslang $LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 27886 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 27998 "configure" #include "confdefs.h" #include <slang.h> int @@ -27894,26 +28006,26 @@ SLtt_get_screen_size() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:27898: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28010: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27901: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:27904: \"$ac_try\"") >&5 + echo "$as_me:28013: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28016: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27907: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:27909: result: yes" >&5 + echo "$as_me:28019: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:28021: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'slang'=yes' + eval 'cf_cv_have_lib_'"slang"'=yes' else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:27916: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:28028: result: no" >&5 echo "${ECHO_T}no" >&6 cf_search= @@ -27921,7 +28033,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -27929,11 +28041,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/slang && cf_search="$cf_search $cf_library_path/lib/slang" - test -d $cf_library_path/lib/slang/lib && cf_search="$cf_search $cf_library_path/lib/slang/lib" - test -d $cf_library_path/slang/lib && cf_search="$cf_search $cf_library_path/slang/lib" - test -d $cf_library_path/slang/lib/slang && cf_search="$cf_search $cf_library_path/slang/lib/slang" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/slang" && cf_search="$cf_search $cf_library_path/lib/slang" + test -d "$cf_library_path/lib/slang/lib" && cf_search="$cf_search $cf_library_path/lib/slang/lib" + test -d "$cf_library_path/slang/lib" && cf_search="$cf_search $cf_library_path/slang/lib" + test -d "$cf_library_path/slang/lib/slang" && cf_search="$cf_search $cf_library_path/slang/lib/slang" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -27948,11 +28060,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/slang && cf_search="$cf_search $prefix/lib/slang" - test -d $prefix/lib/slang/lib && cf_search="$cf_search $prefix/lib/slang/lib" - test -d $prefix/slang/lib && cf_search="$cf_search $prefix/slang/lib" - test -d $prefix/slang/lib/slang && cf_search="$cf_search $prefix/slang/lib/slang" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/slang" && cf_search="$cf_search $prefix/lib/slang" + test -d "$prefix/lib/slang/lib" && cf_search="$cf_search $prefix/lib/slang/lib" + test -d "$prefix/slang/lib" && cf_search="$cf_search $prefix/slang/lib" + test -d "$prefix/slang/lib/slang" && cf_search="$cf_search $prefix/slang/lib/slang" } for cf_subdir_prefix in \ @@ -27966,13 +28078,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/slang && cf_search="$cf_search $cf_subdir_prefix/lib/slang" - test -d $cf_subdir_prefix/lib/slang/lib && cf_search="$cf_search $cf_subdir_prefix/lib/slang/lib" - test -d $cf_subdir_prefix/slang/lib && cf_search="$cf_search $cf_subdir_prefix/slang/lib" - test -d $cf_subdir_prefix/slang/lib/slang && cf_search="$cf_search $cf_subdir_prefix/slang/lib/slang" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/slang" && cf_search="$cf_search $cf_subdir_prefix/lib/slang" + test -d "$cf_subdir_prefix/lib/slang/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/slang/lib" + test -d "$cf_subdir_prefix/slang/lib" && cf_search="$cf_search $cf_subdir_prefix/slang/lib" + test -d "$cf_subdir_prefix/slang/lib/slang" && cf_search="$cf_search $cf_subdir_prefix/slang/lib/slang" } done @@ -27981,11 +28093,11 @@ cf_search="$cf_library_path_list $cf_search" for cf_libdir in $cf_search do - echo "$as_me:27984: checking for -lslang in $cf_libdir" >&5 + echo "$as_me:28096: checking for -lslang in $cf_libdir" >&5 echo $ECHO_N "checking for -lslang in $cf_libdir... $ECHO_C" >&6 LIBS="-L$cf_libdir -lslang $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 27988 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 28100 "configure" #include "confdefs.h" #include <slang.h> int @@ -27996,56 +28108,56 @@ SLtt_get_screen_size() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28000: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28112: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28003: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28006: \"$ac_try\"") >&5 + echo "$as_me:28115: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28118: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28009: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:28011: result: yes" >&5 + echo "$as_me:28121: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:28123: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'slang'=yes' + eval 'cf_cv_have_lib_'"slang"'=yes' break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:28018: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:28130: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_save_LIBS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -eval 'cf_found_library=$cf_cv_have_lib_'slang +eval 'cf_found_library="$cf_cv_have_lib_'"slang"\" -if test $cf_found_library = no ; then - { { echo "$as_me:28033: error: Cannot link slang library" >&5 +if test "$cf_found_library" = no ; then + { { echo "$as_me:28145: error: Cannot link slang library" >&5 echo "$as_me: error: Cannot link slang library" >&2;} { (exit 1); exit 1; }; } fi cf_slang_LIBS3="$LIBS" -echo "$as_me:28039: checking if we can link slang without termcap" >&5 +echo "$as_me:28151: checking if we can link slang without termcap" >&5 echo $ECHO_N "checking if we can link slang without termcap... $ECHO_C" >&6 -if test -n "`echo $cf_slang_LIBS1 | sed -e 's/ //g'`" ; then +if test -n "`echo "$cf_slang_LIBS1" | sed -e 's/ //g'`" ; then cf_exclude=`echo ".$cf_slang_LIBS2" | sed -e "s%$cf_slang_LIBS1%%" -e 's%^.%%'` else cf_exclude="$cf_slang_LIBS2" fi LIBS=`echo ".$cf_slang_LIBS3" | sed -e "s%$cf_exclude%%" -e 's%^.%%'` -cat >conftest.$ac_ext <<_ACEOF -#line 28048 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 28160 "configure" #include "confdefs.h" #include <slang.h> int @@ -28056,66 +28168,66 @@ SLtt_get_screen_size() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28060: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28172: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28063: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28066: \"$ac_try\"") >&5 + echo "$as_me:28175: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28178: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28069: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28181: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -echo "$as_me:28078: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +echo "$as_me:28190: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 -test $cf_result = no && LIBS="$cf_slang_LIBS3" +test "$cf_result" = no && LIBS="$cf_slang_LIBS3" else -echo "$as_me:28084: checking for slang2 header file" >&5 +echo "$as_me:28196: checking for slang2 header file" >&5 echo $ECHO_N "checking for slang2 header file... $ECHO_C" >&6 if test "${cf_cv_slang2_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cf_cv_slang2_header=no - cat >conftest.$ac_ext <<_ACEOF -#line 28092 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 28204 "configure" #include "confdefs.h" #include <slang.h> int main (void) { -printf("%s\n", SLANG_VERSION) +printf("%s\\n", SLANG_VERSION) ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:28104: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:28216: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:28107: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:28110: \"$ac_try\"") >&5 + echo "$as_me:28219: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:28222: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28113: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28225: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_slang2_header=predefined else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_search= @@ -28124,7 +28236,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -28132,11 +28244,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/slang2 && cf_search="$cf_search $cf_header_path/include/slang2" - test -d $cf_header_path/include/slang2/include && cf_search="$cf_search $cf_header_path/include/slang2/include" - test -d $cf_header_path/slang2/include && cf_search="$cf_search $cf_header_path/slang2/include" - test -d $cf_header_path/slang2/include/slang2 && cf_search="$cf_search $cf_header_path/slang2/include/slang2" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/slang2" && cf_search="$cf_search $cf_header_path/include/slang2" + test -d "$cf_header_path/include/slang2/include" && cf_search="$cf_search $cf_header_path/include/slang2/include" + test -d "$cf_header_path/slang2/include" && cf_search="$cf_search $cf_header_path/slang2/include" + test -d "$cf_header_path/slang2/include/slang2" && cf_search="$cf_search $cf_header_path/slang2/include/slang2" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -28153,11 +28265,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/slang2 && cf_search="$cf_search $prefix/include/slang2" - test -d $prefix/include/slang2/include && cf_search="$cf_search $prefix/include/slang2/include" - test -d $prefix/slang2/include && cf_search="$cf_search $prefix/slang2/include" - test -d $prefix/slang2/include/slang2 && cf_search="$cf_search $prefix/slang2/include/slang2" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/slang2" && cf_search="$cf_search $prefix/include/slang2" + test -d "$prefix/include/slang2/include" && cf_search="$cf_search $prefix/include/slang2/include" + test -d "$prefix/slang2/include" && cf_search="$cf_search $prefix/slang2/include" + test -d "$prefix/slang2/include/slang2" && cf_search="$cf_search $prefix/slang2/include/slang2" } for cf_subdir_prefix in \ @@ -28171,13 +28283,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/slang2 && cf_search="$cf_search $cf_subdir_prefix/include/slang2" - test -d $cf_subdir_prefix/include/slang2/include && cf_search="$cf_search $cf_subdir_prefix/include/slang2/include" - test -d $cf_subdir_prefix/slang2/include && cf_search="$cf_search $cf_subdir_prefix/slang2/include" - test -d $cf_subdir_prefix/slang2/include/slang2 && cf_search="$cf_search $cf_subdir_prefix/slang2/include/slang2" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/slang2" && cf_search="$cf_search $cf_subdir_prefix/include/slang2" + test -d "$cf_subdir_prefix/include/slang2/include" && cf_search="$cf_search $cf_subdir_prefix/include/slang2/include" + test -d "$cf_subdir_prefix/slang2/include" && cf_search="$cf_search $cf_subdir_prefix/slang2/include" + test -d "$cf_subdir_prefix/slang2/include/slang2" && cf_search="$cf_search $cf_subdir_prefix/slang2/include/slang2" } done @@ -28185,15 +28297,15 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/slang2 && cf_search="$cf_search $includedir/slang2" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/slang2" && cf_search="$cf_search $includedir/slang2" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/slang2 && cf_search="$cf_search $oldincludedir/slang2" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/slang2" && cf_search="$cf_search $oldincludedir/slang2" } cf_search="$cf_search $cf_header_path_list" @@ -28203,8 +28315,8 @@ cf_search="$cf_search $cf_header_path_list" for cf_header in \ slang.h do - echo trying $cf_incdir/$cf_header 1>&5 - if egrep "SLANG_VERSION" $cf_incdir/$cf_header 1>&5 2>&1; then + echo trying "$cf_incdir/$cf_header" 1>&5 + if egrep "SLANG_VERSION" "$cf_incdir/$cf_header" 1>&5 2>&1; then cf_cv_slang2_header=$cf_incdir/$cf_header break fi @@ -28213,9 +28325,9 @@ cf_search="$cf_search $cf_header_path_list" done fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:28218: result: $cf_cv_slang2_header" >&5 +echo "$as_me:28330: result: $cf_cv_slang2_header" >&5 echo "${ECHO_T}$cf_cv_slang2_header" >&6 if test "x$cf_cv_slang2_header" != xno @@ -28225,9 +28337,9 @@ cat >>confdefs.h <<\EOF #define USE_SLANG 1 EOF - cf_incdir=`echo $cf_cv_slang2_header | sed -e 's%/[^/]*$%%'` + cf_incdir=`echo "$cf_cv_slang2_header" | sed -e 's%/[^/]*$%%'` - case $cf_cv_slang2_header in + case "$cf_cv_slang2_header" in (predefined) ;; (*) @@ -28235,9 +28347,9 @@ EOF if test -n "$cf_incdir" ; then for cf_add_incdir in $cf_incdir do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -28258,8 +28370,8 @@ if test -n "$cf_incdir" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 28262 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 28374 "configure" #include "confdefs.h" #include <stdio.h> int @@ -28270,25 +28382,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:28274: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:28386: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:28277: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:28280: \"$ac_try\"") >&5 + echo "$as_me:28389: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:28392: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28283: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28395: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -28297,11 +28409,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:28300: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:28412: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -28328,8 +28440,8 @@ if test "${cf_cv_termlib+set}" = set; then else cf_cv_termlib=none -cat >conftest.$ac_ext <<_ACEOF -#line 28332 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 28444 "configure" #include "confdefs.h" int @@ -28340,20 +28452,20 @@ char *x=(char*)tgoto("",0,0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28344: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28456: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28347: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28350: \"$ac_try\"") >&5 + echo "$as_me:28459: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28462: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28353: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cat >conftest.$ac_ext <<_ACEOF -#line 28356 "configure" + echo "$as_me:28465: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cat >"conftest.$ac_ext" <<_ACEOF +#line 28468 "configure" #include "confdefs.h" int @@ -28364,32 +28476,32 @@ int x=tigetstr("") return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28368: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28480: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28371: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28374: \"$ac_try\"") >&5 + echo "$as_me:28483: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28486: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28377: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28489: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_termlib=terminfo else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_termlib=termcap fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" test -n "$verbose" && echo " using functions in predefined $cf_cv_termlib LIBS" 1>&6 -echo "${as_me:-configure}:28388: testing using functions in predefined $cf_cv_termlib LIBS ..." 1>&5 +echo "${as_me:-configure}:28500: testing using functions in predefined $cf_cv_termlib LIBS ..." 1>&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 if test "$cf_cv_termlib" = none; then # FreeBSD's linker gives bogus results for AC_CHECK_LIB, saying that @@ -28400,10 +28512,10 @@ if test "$cf_cv_termlib" = none; then LIBS="-l$cf_lib $cf_save_LIBS" for cf_func in tigetstr tgetstr do - echo "$as_me:28403: checking for $cf_func in -l$cf_lib" >&5 + echo "$as_me:28515: checking for $cf_func in -l$cf_lib" >&5 echo $ECHO_N "checking for $cf_func in -l$cf_lib... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 28406 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 28518 "configure" #include "confdefs.h" int @@ -28414,26 +28526,26 @@ int x=$cf_func("") return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28418: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28530: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28421: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28424: \"$ac_try\"") >&5 + echo "$as_me:28533: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28536: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28427: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28539: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:28436: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + echo "$as_me:28548: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then if test "$cf_func" = tigetstr ; then @@ -28450,15 +28562,15 @@ echo "${ECHO_T}$cf_result" >&6 fi if test "$cf_cv_termlib" = none; then # allow curses library for broken AIX system. - echo "$as_me:28453: checking for initscr in -lcurses" >&5 + echo "$as_me:28565: checking for initscr in -lcurses" >&5 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6 if test "${ac_cv_lib_curses_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcurses $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 28461 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 28573 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -28476,30 +28588,30 @@ initscr (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28480: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28592: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28483: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28486: \"$ac_try\"") >&5 + echo "$as_me:28595: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28598: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28489: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28601: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_curses_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_curses_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:28500: result: $ac_cv_lib_curses_initscr" >&5 +echo "$as_me:28612: result: $ac_cv_lib_curses_initscr" >&5 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6 -if test $ac_cv_lib_curses_initscr = yes; then +if test "$ac_cv_lib_curses_initscr" = yes; then cf_add_libs="$LIBS" # reverse order @@ -28519,15 +28631,15 @@ LIBS="$cf_add_libs" fi - echo "$as_me:28522: checking for tgoto in -ltermcap" >&5 + echo "$as_me:28634: checking for tgoto in -ltermcap" >&5 echo $ECHO_N "checking for tgoto in -ltermcap... $ECHO_C" >&6 if test "${ac_cv_lib_termcap_tgoto+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ltermcap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 28530 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 28642 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -28545,30 +28657,30 @@ tgoto (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28549: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28661: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28552: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28555: \"$ac_try\"") >&5 + echo "$as_me:28664: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28667: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28558: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28670: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_termcap_tgoto=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_termcap_tgoto=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:28569: result: $ac_cv_lib_termcap_tgoto" >&5 +echo "$as_me:28681: result: $ac_cv_lib_termcap_tgoto" >&5 echo "${ECHO_T}$ac_cv_lib_termcap_tgoto" >&6 -if test $ac_cv_lib_termcap_tgoto = yes; then +if test "$ac_cv_lib_termcap_tgoto" = yes; then cf_add_libs="$LIBS" # reverse order @@ -28591,22 +28703,22 @@ fi fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" if test "$cf_cv_termlib" = none; then - { echo "$as_me:28596: WARNING: Cannot find -ltermlib, -lcurses, or -ltermcap" >&5 + { echo "$as_me:28708: WARNING: Cannot find -ltermlib, -lcurses, or -ltermcap" >&5 echo "$as_me: WARNING: Cannot find -ltermlib, -lcurses, or -ltermcap" >&2;} fi fi cf_slang_LIBS2="$LIBS" -echo "$as_me:28603: checking for acos" >&5 +echo "$as_me:28715: checking for acos" >&5 echo $ECHO_N "checking for acos... $ECHO_C" >&6 if test "${ac_cv_func_acos+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 28609 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 28721 "configure" #include "confdefs.h" #define acos autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -28636,41 +28748,41 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28640: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28752: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28643: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28646: \"$ac_try\"") >&5 + echo "$as_me:28755: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28758: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28649: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28761: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_acos=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_acos=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:28659: result: $ac_cv_func_acos" >&5 +echo "$as_me:28771: result: $ac_cv_func_acos" >&5 echo "${ECHO_T}$ac_cv_func_acos" >&6 -if test $ac_cv_func_acos = yes; then +if test "$ac_cv_func_acos" = yes; then : else -echo "$as_me:28665: checking for acos in -lm" >&5 +echo "$as_me:28777: checking for acos in -lm" >&5 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6 if test "${ac_cv_lib_m_acos+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 28673 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 28785 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -28688,30 +28800,30 @@ acos (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28692: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28804: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28695: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28698: \"$ac_try\"") >&5 + echo "$as_me:28807: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28810: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28701: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28813: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_m_acos=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_m_acos=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:28712: result: $ac_cv_lib_m_acos" >&5 +echo "$as_me:28824: result: $ac_cv_lib_m_acos" >&5 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6 -if test $ac_cv_lib_m_acos = yes; then +if test "$ac_cv_lib_m_acos" = yes; then cf_tr_func=`echo "acos" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -28730,18 +28842,18 @@ fi fi -case $host_os in +case "$host_os" in (os2*) - eval 'cf_cv_have_lib_'video'=no' + eval 'cf_cv_have_lib_'"video"'=no' cf_libdir="" - echo "$as_me:28738: checking for v_init" >&5 + echo "$as_me:28850: checking for v_init" >&5 echo $ECHO_N "checking for v_init... $ECHO_C" >&6 if test "${ac_cv_func_v_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 28744 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 28856 "configure" #include "confdefs.h" #define v_init autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -28771,38 +28883,38 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28775: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28887: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28778: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28781: \"$ac_try\"") >&5 + echo "$as_me:28890: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28893: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28784: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:28896: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_v_init=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_v_init=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:28794: result: $ac_cv_func_v_init" >&5 +echo "$as_me:28906: result: $ac_cv_func_v_init" >&5 echo "${ECHO_T}$ac_cv_func_v_init" >&6 -if test $ac_cv_func_v_init = yes; then - eval 'cf_cv_have_lib_'video'=yes' +if test "$ac_cv_func_v_init" = yes; then + eval 'cf_cv_have_lib_'"video"'=yes' else cf_save_LIBS="$LIBS" - echo "$as_me:28801: checking for v_init in -lvideo" >&5 + echo "$as_me:28913: checking for v_init in -lvideo" >&5 echo $ECHO_N "checking for v_init in -lvideo... $ECHO_C" >&6 LIBS="-lvideo $LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 28805 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 28917 "configure" #include "confdefs.h" #include <sys/video.h> int @@ -28813,26 +28925,26 @@ v_init() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28817: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:28929: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28820: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28823: \"$ac_try\"") >&5 + echo "$as_me:28932: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:28935: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28826: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:28828: result: yes" >&5 + echo "$as_me:28938: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:28940: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'video'=yes' + eval 'cf_cv_have_lib_'"video"'=yes' else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:28835: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:28947: result: no" >&5 echo "${ECHO_T}no" >&6 cf_search= @@ -28840,7 +28952,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -28848,11 +28960,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/video && cf_search="$cf_search $cf_library_path/lib/video" - test -d $cf_library_path/lib/video/lib && cf_search="$cf_search $cf_library_path/lib/video/lib" - test -d $cf_library_path/video/lib && cf_search="$cf_search $cf_library_path/video/lib" - test -d $cf_library_path/video/lib/video && cf_search="$cf_search $cf_library_path/video/lib/video" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/video" && cf_search="$cf_search $cf_library_path/lib/video" + test -d "$cf_library_path/lib/video/lib" && cf_search="$cf_search $cf_library_path/lib/video/lib" + test -d "$cf_library_path/video/lib" && cf_search="$cf_search $cf_library_path/video/lib" + test -d "$cf_library_path/video/lib/video" && cf_search="$cf_search $cf_library_path/video/lib/video" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -28867,11 +28979,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/video && cf_search="$cf_search $prefix/lib/video" - test -d $prefix/lib/video/lib && cf_search="$cf_search $prefix/lib/video/lib" - test -d $prefix/video/lib && cf_search="$cf_search $prefix/video/lib" - test -d $prefix/video/lib/video && cf_search="$cf_search $prefix/video/lib/video" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/video" && cf_search="$cf_search $prefix/lib/video" + test -d "$prefix/lib/video/lib" && cf_search="$cf_search $prefix/lib/video/lib" + test -d "$prefix/video/lib" && cf_search="$cf_search $prefix/video/lib" + test -d "$prefix/video/lib/video" && cf_search="$cf_search $prefix/video/lib/video" } for cf_subdir_prefix in \ @@ -28885,13 +28997,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/video && cf_search="$cf_search $cf_subdir_prefix/lib/video" - test -d $cf_subdir_prefix/lib/video/lib && cf_search="$cf_search $cf_subdir_prefix/lib/video/lib" - test -d $cf_subdir_prefix/video/lib && cf_search="$cf_search $cf_subdir_prefix/video/lib" - test -d $cf_subdir_prefix/video/lib/video && cf_search="$cf_search $cf_subdir_prefix/video/lib/video" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/video" && cf_search="$cf_search $cf_subdir_prefix/lib/video" + test -d "$cf_subdir_prefix/lib/video/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/video/lib" + test -d "$cf_subdir_prefix/video/lib" && cf_search="$cf_search $cf_subdir_prefix/video/lib" + test -d "$cf_subdir_prefix/video/lib/video" && cf_search="$cf_search $cf_subdir_prefix/video/lib/video" } done @@ -28900,11 +29012,11 @@ cf_search="$cf_library_path_list $cf_search" for cf_libdir in $cf_search do - echo "$as_me:28903: checking for -lvideo in $cf_libdir" >&5 + echo "$as_me:29015: checking for -lvideo in $cf_libdir" >&5 echo $ECHO_N "checking for -lvideo in $cf_libdir... $ECHO_C" >&6 LIBS="-L$cf_libdir -lvideo $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 28907 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29019 "configure" #include "confdefs.h" #include <sys/video.h> int @@ -28915,41 +29027,41 @@ v_init() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28919: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:29031: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28922: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:28925: \"$ac_try\"") >&5 + echo "$as_me:29034: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:29037: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28928: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:28930: result: yes" >&5 + echo "$as_me:29040: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:29042: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'video'=yes' + eval 'cf_cv_have_lib_'"video"'=yes' break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:28937: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:29049: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_save_LIBS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -eval 'cf_found_library=$cf_cv_have_lib_'video +eval 'cf_found_library="$cf_cv_have_lib_'"video"\" -if test $cf_found_library = no ; then - { { echo "$as_me:28952: error: Cannot link video library" >&5 +if test "$cf_found_library" = no ; then + { { echo "$as_me:29064: error: Cannot link video library" >&5 echo "$as_me: error: Cannot link video library" >&2;} { (exit 1); exit 1; }; } fi @@ -28957,15 +29069,15 @@ fi ;; esac - eval 'cf_cv_have_lib_'slang2'=no' + eval 'cf_cv_have_lib_'"slang2"'=no' cf_libdir="" - echo "$as_me:28962: checking for SLtt_get_screen_size" >&5 + echo "$as_me:29074: checking for SLtt_get_screen_size" >&5 echo $ECHO_N "checking for SLtt_get_screen_size... $ECHO_C" >&6 if test "${ac_cv_func_SLtt_get_screen_size+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 28968 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29080 "configure" #include "confdefs.h" #define SLtt_get_screen_size autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -28995,38 +29107,38 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:28999: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:29111: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:29002: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:29005: \"$ac_try\"") >&5 + echo "$as_me:29114: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:29117: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29008: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29120: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_SLtt_get_screen_size=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_SLtt_get_screen_size=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:29018: result: $ac_cv_func_SLtt_get_screen_size" >&5 +echo "$as_me:29130: result: $ac_cv_func_SLtt_get_screen_size" >&5 echo "${ECHO_T}$ac_cv_func_SLtt_get_screen_size" >&6 -if test $ac_cv_func_SLtt_get_screen_size = yes; then - eval 'cf_cv_have_lib_'slang2'=yes' +if test "$ac_cv_func_SLtt_get_screen_size" = yes; then + eval 'cf_cv_have_lib_'"slang2"'=yes' else cf_save_LIBS="$LIBS" - echo "$as_me:29025: checking for SLtt_get_screen_size in -lslang2" >&5 + echo "$as_me:29137: checking for SLtt_get_screen_size in -lslang2" >&5 echo $ECHO_N "checking for SLtt_get_screen_size in -lslang2... $ECHO_C" >&6 LIBS="-lslang2 $LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 29029 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29141 "configure" #include "confdefs.h" #include <slang.h> int @@ -29037,26 +29149,26 @@ SLtt_get_screen_size() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:29041: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:29153: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:29044: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:29047: \"$ac_try\"") >&5 + echo "$as_me:29156: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:29159: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29050: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:29052: result: yes" >&5 + echo "$as_me:29162: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:29164: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'slang2'=yes' + eval 'cf_cv_have_lib_'"slang2"'=yes' else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:29059: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:29171: result: no" >&5 echo "${ECHO_T}no" >&6 cf_search= @@ -29064,7 +29176,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -29072,11 +29184,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/slang2 && cf_search="$cf_search $cf_library_path/lib/slang2" - test -d $cf_library_path/lib/slang2/lib && cf_search="$cf_search $cf_library_path/lib/slang2/lib" - test -d $cf_library_path/slang2/lib && cf_search="$cf_search $cf_library_path/slang2/lib" - test -d $cf_library_path/slang2/lib/slang2 && cf_search="$cf_search $cf_library_path/slang2/lib/slang2" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/slang2" && cf_search="$cf_search $cf_library_path/lib/slang2" + test -d "$cf_library_path/lib/slang2/lib" && cf_search="$cf_search $cf_library_path/lib/slang2/lib" + test -d "$cf_library_path/slang2/lib" && cf_search="$cf_search $cf_library_path/slang2/lib" + test -d "$cf_library_path/slang2/lib/slang2" && cf_search="$cf_search $cf_library_path/slang2/lib/slang2" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -29091,11 +29203,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/slang2 && cf_search="$cf_search $prefix/lib/slang2" - test -d $prefix/lib/slang2/lib && cf_search="$cf_search $prefix/lib/slang2/lib" - test -d $prefix/slang2/lib && cf_search="$cf_search $prefix/slang2/lib" - test -d $prefix/slang2/lib/slang2 && cf_search="$cf_search $prefix/slang2/lib/slang2" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/slang2" && cf_search="$cf_search $prefix/lib/slang2" + test -d "$prefix/lib/slang2/lib" && cf_search="$cf_search $prefix/lib/slang2/lib" + test -d "$prefix/slang2/lib" && cf_search="$cf_search $prefix/slang2/lib" + test -d "$prefix/slang2/lib/slang2" && cf_search="$cf_search $prefix/slang2/lib/slang2" } for cf_subdir_prefix in \ @@ -29109,13 +29221,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/slang2 && cf_search="$cf_search $cf_subdir_prefix/lib/slang2" - test -d $cf_subdir_prefix/lib/slang2/lib && cf_search="$cf_search $cf_subdir_prefix/lib/slang2/lib" - test -d $cf_subdir_prefix/slang2/lib && cf_search="$cf_search $cf_subdir_prefix/slang2/lib" - test -d $cf_subdir_prefix/slang2/lib/slang2 && cf_search="$cf_search $cf_subdir_prefix/slang2/lib/slang2" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/slang2" && cf_search="$cf_search $cf_subdir_prefix/lib/slang2" + test -d "$cf_subdir_prefix/lib/slang2/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/slang2/lib" + test -d "$cf_subdir_prefix/slang2/lib" && cf_search="$cf_search $cf_subdir_prefix/slang2/lib" + test -d "$cf_subdir_prefix/slang2/lib/slang2" && cf_search="$cf_search $cf_subdir_prefix/slang2/lib/slang2" } done @@ -29124,11 +29236,11 @@ cf_search="$cf_library_path_list $cf_search" for cf_libdir in $cf_search do - echo "$as_me:29127: checking for -lslang2 in $cf_libdir" >&5 + echo "$as_me:29239: checking for -lslang2 in $cf_libdir" >&5 echo $ECHO_N "checking for -lslang2 in $cf_libdir... $ECHO_C" >&6 LIBS="-L$cf_libdir -lslang2 $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 29131 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29243 "configure" #include "confdefs.h" #include <slang.h> int @@ -29139,56 +29251,56 @@ SLtt_get_screen_size() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:29143: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:29255: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:29146: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:29149: \"$ac_try\"") >&5 + echo "$as_me:29258: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:29261: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29152: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - echo "$as_me:29154: result: yes" >&5 + echo "$as_me:29264: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + echo "$as_me:29266: result: yes" >&5 echo "${ECHO_T}yes" >&6 - eval 'cf_cv_have_lib_'slang2'=yes' + eval 'cf_cv_have_lib_'"slang2"'=yes' break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -echo "$as_me:29161: result: no" >&5 +cat "conftest.$ac_ext" >&5 +echo "$as_me:29273: result: no" >&5 echo "${ECHO_T}no" >&6 LIBS="$cf_save_LIBS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -eval 'cf_found_library=$cf_cv_have_lib_'slang2 +eval 'cf_found_library="$cf_cv_have_lib_'"slang2"\" -if test $cf_found_library = no ; then - { { echo "$as_me:29176: error: Cannot link slang2 library" >&5 +if test "$cf_found_library" = no ; then + { { echo "$as_me:29288: error: Cannot link slang2 library" >&5 echo "$as_me: error: Cannot link slang2 library" >&2;} { (exit 1); exit 1; }; } fi cf_slang_LIBS3="$LIBS" -echo "$as_me:29182: checking if we can link slang2 without termcap" >&5 +echo "$as_me:29294: checking if we can link slang2 without termcap" >&5 echo $ECHO_N "checking if we can link slang2 without termcap... $ECHO_C" >&6 -if test -n "`echo $cf_slang_LIBS1 | sed -e 's/ //g'`" ; then +if test -n "`echo "$cf_slang_LIBS1" | sed -e 's/ //g'`" ; then cf_exclude=`echo ".$cf_slang_LIBS2" | sed -e "s%$cf_slang_LIBS1%%" -e 's%^.%%'` else cf_exclude="$cf_slang_LIBS2" fi LIBS=`echo ".$cf_slang_LIBS3" | sed -e "s%$cf_exclude%%" -e 's%^.%%'` -cat >conftest.$ac_ext <<_ACEOF -#line 29191 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 29303 "configure" #include "confdefs.h" #include <slang.h> int @@ -29199,31 +29311,31 @@ SLtt_get_screen_size() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:29203: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:29315: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:29206: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:29209: \"$ac_try\"") >&5 + echo "$as_me:29318: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:29321: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29212: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29324: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -echo "$as_me:29221: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +echo "$as_me:29333: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 -test $cf_result = no && LIBS="$cf_slang_LIBS3" +test "$cf_result" = no && LIBS="$cf_slang_LIBS3" else - { { echo "$as_me:29226: error: cannot find slang headers" >&5 + { { echo "$as_me:29338: error: cannot find slang headers" >&5 echo "$as_me: error: cannot find slang headers" >&2;} { (exit 1); exit 1; }; } fi @@ -29231,14 +29343,14 @@ fi # There's an unofficial set of patches for slang that gives it some limited # UTF8 capability. Unfortunately it won't compile unless one defines UTF8. -echo "$as_me:29234: checking if we must define UTF8" >&5 +echo "$as_me:29346: checking if we must define UTF8" >&5 echo $ECHO_N "checking if we must define UTF8... $ECHO_C" >&6 if test "${cf_cv_slang_utf8+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 29241 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29353 "configure" #include "confdefs.h" #include <slang.h> int @@ -29249,25 +29361,25 @@ SLtt_get_screen_size() return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:29253: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:29365: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:29256: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:29259: \"$ac_try\"") >&5 + echo "$as_me:29368: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:29371: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29262: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29374: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_slang_utf8=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 - cat >conftest.$ac_ext <<_ACEOF -#line 29270 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29382 "configure" #include "confdefs.h" #define UTF8 @@ -29280,30 +29392,30 @@ SLtt_get_screen_size() return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:29284: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:29396: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:29287: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:29290: \"$ac_try\"") >&5 + echo "$as_me:29399: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:29402: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29293: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29405: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_slang_utf8=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_slang_utf8=unknown fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:29306: result: $cf_cv_slang_utf8" >&5 +echo "$as_me:29418: result: $cf_cv_slang_utf8" >&5 echo "${ECHO_T}$cf_cv_slang_utf8" >&6 if test "$cf_cv_slang_utf8" = yes ; then @@ -29314,14 +29426,14 @@ EOF fi -echo "$as_me:29317: checking if we must tell slang this is UNIX" >&5 +echo "$as_me:29429: checking if we must tell slang this is UNIX" >&5 echo $ECHO_N "checking if we must tell slang this is UNIX... $ECHO_C" >&6 if test "${cf_cv_slang_unix+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 29324 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 29436 "configure" #include "confdefs.h" #include <slang.h> int @@ -29339,41 +29451,41 @@ SLang_TT_Baud_Rate = 1 return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:29343: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:29455: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:29346: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:29349: \"$ac_try\"") >&5 + echo "$as_me:29458: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:29461: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29352: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29464: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_slang_unix=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_slang_unix=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:29363: result: $cf_cv_slang_unix" >&5 +echo "$as_me:29475: result: $cf_cv_slang_unix" >&5 echo "${ECHO_T}$cf_cv_slang_unix" >&6 -test $cf_cv_slang_unix = yes && +test "$cf_cv_slang_unix" = yes && cat >>confdefs.h <<\EOF #define REAL_UNIX_SYSTEM 1 EOF - echo "$as_me:29370: checking for SLsmg_Color_Type" >&5 + echo "$as_me:29482: checking for SLsmg_Color_Type" >&5 echo $ECHO_N "checking for SLsmg_Color_Type... $ECHO_C" >&6 if test "${ac_cv_type_SLsmg_Color_Type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 29376 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29488 "configure" #include "confdefs.h" #include <slang.h> @@ -29388,35 +29500,35 @@ if (sizeof (SLsmg_Color_Type)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:29392: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:29504: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:29395: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:29398: \"$ac_try\"") >&5 + echo "$as_me:29507: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:29510: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29401: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29513: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_SLsmg_Color_Type=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_SLsmg_Color_Type=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:29411: result: $ac_cv_type_SLsmg_Color_Type" >&5 +echo "$as_me:29523: result: $ac_cv_type_SLsmg_Color_Type" >&5 echo "${ECHO_T}$ac_cv_type_SLsmg_Color_Type" >&6 -if test $ac_cv_type_SLsmg_Color_Type = yes; then +if test "$ac_cv_type_SLsmg_Color_Type" = yes; then ac_cv_type_SLsmg_Color_Type=yes else ac_cv_type_SLsmg_Color_Type=no fi - if test $ac_cv_type_SLsmg_Color_Type = no; then + if test "$ac_cv_type_SLsmg_Color_Type" = no; then cat >>confdefs.h <<\EOF #define SLsmg_Color_Type int @@ -29424,13 +29536,13 @@ EOF fi - echo "$as_me:29427: checking for SLtt_Char_Type" >&5 + echo "$as_me:29539: checking for SLtt_Char_Type" >&5 echo $ECHO_N "checking for SLtt_Char_Type... $ECHO_C" >&6 if test "${ac_cv_type_SLtt_Char_Type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 29433 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29545 "configure" #include "confdefs.h" #include <slang.h> @@ -29445,35 +29557,35 @@ if (sizeof (SLtt_Char_Type)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:29449: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:29561: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:29452: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:29455: \"$ac_try\"") >&5 + echo "$as_me:29564: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:29567: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29458: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29570: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_SLtt_Char_Type=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_SLtt_Char_Type=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:29468: result: $ac_cv_type_SLtt_Char_Type" >&5 +echo "$as_me:29580: result: $ac_cv_type_SLtt_Char_Type" >&5 echo "${ECHO_T}$ac_cv_type_SLtt_Char_Type" >&6 -if test $ac_cv_type_SLtt_Char_Type = yes; then +if test "$ac_cv_type_SLtt_Char_Type" = yes; then ac_cv_type_SLtt_Char_Type=yes else ac_cv_type_SLtt_Char_Type=no fi - if test $ac_cv_type_SLtt_Char_Type = no; then + if test "$ac_cv_type_SLtt_Char_Type" = no; then cat >>confdefs.h <<\EOF #define SLtt_Char_Type unsigned long @@ -29488,9 +29600,9 @@ esac LD_RPATH_OPT= if test "x$cf_cv_enable_rpath" != xno then - echo "$as_me:29491: checking for an rpath option" >&5 + echo "$as_me:29603: checking for an rpath option" >&5 echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 - case $cf_cv_system_name in + case "$cf_cv_system_name" in (irix*) if test "$GCC" = yes; then LD_RPATH_OPT="-Wl,-rpath," @@ -29519,12 +29631,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 (*) ;; esac - echo "$as_me:29522: result: $LD_RPATH_OPT" >&5 + echo "$as_me:29634: result: $LD_RPATH_OPT" >&5 echo "${ECHO_T}$LD_RPATH_OPT" >&6 case "x$LD_RPATH_OPT" in (x-R*) - echo "$as_me:29527: checking if we need a space after rpath option" >&5 + echo "$as_me:29639: checking if we need a space after rpath option" >&5 echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6 cf_save_LIBS="$LIBS" @@ -29544,8 +29656,8 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" - cat >conftest.$ac_ext <<_ACEOF -#line 29548 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29660 "configure" #include "confdefs.h" int @@ -29556,27 +29668,27 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:29560: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:29672: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:29563: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:29566: \"$ac_try\"") >&5 + echo "$as_me:29675: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:29678: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29569: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29681: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_rpath_space=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_rpath_space=yes fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" - echo "$as_me:29579: result: $cf_rpath_space" >&5 + echo "$as_me:29691: result: $cf_rpath_space" >&5 echo "${ECHO_T}$cf_rpath_space" >&6 test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " ;; @@ -29587,13 +29699,13 @@ if test -z "$LD_RPATH_OPT" then test -n "$verbose" && echo " will not attempt to use rpath" 1>&6 -echo "${as_me:-configure}:29590: testing will not attempt to use rpath ..." 1>&5 +echo "${as_me:-configure}:29702: testing will not attempt to use rpath ..." 1>&5 elif test "x${enable_rpath_hack:-yes}" = "xno" then - test -n "$verbose" && echo " "rpath is disabled" 1>&6 + test -n "$verbose" && echo " rpath is disabled" 1>&6 -echo "${as_me:-configure}:29596: testing "rpath is disabled ..." 1>&5 +echo "${as_me:-configure}:29708: testing rpath is disabled ..." 1>&5 elif test -z "${LD_RUN_PATH}${LD_LIBRARY_PATH}" then @@ -29603,8 +29715,8 @@ then if test "$cross_compiling" = yes; then cf_check_run=unknown else - cat >conftest.$ac_ext <<_ACEOF -#line 29607 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29719 "configure" #include "confdefs.h" #include <stdio.h> int main(void) { @@ -29612,32 +29724,32 @@ int main(void) { ${cf_cv_main_return:-return}(0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:29616: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:29728: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:29619: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:29621: \"$ac_try\"") >&5 + echo "$as_me:29731: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:29733: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29624: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29736: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_check_run=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_check_run=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi if test "x$cf_check_run" = xno then test -n "$verbose" && echo " linkage is broken" 1>&6 -echo "${as_me:-configure}:29640: testing linkage is broken ..." 1>&5 +echo "${as_me:-configure}:29752: testing linkage is broken ..." 1>&5 cf_result= for cf_item in $LIBS @@ -29668,8 +29780,8 @@ echo "${as_me:-configure}:29640: testing linkage is broken ..." 1>&5 if test "$cross_compiling" = yes; then cf_check_run=unknown else - cat >conftest.$ac_ext <<_ACEOF -#line 29672 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29784 "configure" #include "confdefs.h" #include <stdio.h> int main(void) { @@ -29677,37 +29789,37 @@ int main(void) { ${cf_cv_main_return:-return}(0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:29681: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:29793: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:29684: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:29686: \"$ac_try\"") >&5 + echo "$as_me:29796: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:29798: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29689: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29801: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_check_run=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_check_run=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi if test "x$cf_check_run" = "xyes" then test -n "$verbose" && echo " use rpath for $cf_save_LIBS" 1>&6 -echo "${as_me:-configure}:29705: testing use rpath for $cf_save_LIBS ..." 1>&5 +echo "${as_me:-configure}:29817: testing use rpath for $cf_save_LIBS ..." 1>&5 LIBS="$cf_result" test -n "$verbose" && echo " result is now $LIBS" 1>&6 -echo "${as_me:-configure}:29710: testing result is now $LIBS ..." 1>&5 +echo "${as_me:-configure}:29822: testing result is now $LIBS ..." 1>&5 else LIBS="$cf_save_LIBS" @@ -29718,20 +29830,20 @@ echo "${as_me:-configure}:29710: testing result is now $LIBS ..." 1>&5 (*) test -n "$verbose" && echo " will not attempt to use rpath" 1>&6 -echo "${as_me:-configure}:29721: testing will not attempt to use rpath ..." 1>&5 +echo "${as_me:-configure}:29833: testing will not attempt to use rpath ..." 1>&5 ;; esac fi -echo "$as_me:29727: checking for chtype typedef" >&5 +echo "$as_me:29839: checking for chtype typedef" >&5 echo $ECHO_N "checking for chtype typedef... $ECHO_C" >&6 if test "${cf_cv_chtype_decl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 29734 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29846 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -29742,42 +29854,42 @@ chtype foo; (void)foo return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:29746: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:29858: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:29749: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:29752: \"$ac_try\"") >&5 + echo "$as_me:29861: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:29864: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29755: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29867: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_chtype_decl=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_chtype_decl=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:29765: result: $cf_cv_chtype_decl" >&5 +echo "$as_me:29877: result: $cf_cv_chtype_decl" >&5 echo "${ECHO_T}$cf_cv_chtype_decl" >&6 -if test $cf_cv_chtype_decl = yes ; then +if test "$cf_cv_chtype_decl" = yes ; then cat >>confdefs.h <<\EOF #define HAVE_TYPE_CHTYPE 1 EOF - echo "$as_me:29773: checking if chtype is scalar or struct" >&5 + echo "$as_me:29885: checking if chtype is scalar or struct" >&5 echo $ECHO_N "checking if chtype is scalar or struct... $ECHO_C" >&6 if test "${cf_cv_chtype_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 29780 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 29892 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -29788,29 +29900,29 @@ static chtype foo; long x = foo; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:29792: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:29904: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:29795: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:29798: \"$ac_try\"") >&5 + echo "$as_me:29907: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:29910: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:29801: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:29913: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_chtype_type=scalar else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_chtype_type=struct fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:29811: result: $cf_cv_chtype_type" >&5 +echo "$as_me:29923: result: $cf_cv_chtype_type" >&5 echo "${ECHO_T}$cf_cv_chtype_type" >&6 - if test $cf_cv_chtype_type = scalar ; then + if test "$cf_cv_chtype_type" = scalar ; then cat >>confdefs.h <<\EOF #define TYPE_CHTYPE_IS_SCALAR 1 @@ -29819,7 +29931,7 @@ EOF fi fi -echo "$as_me:29822: checking if you want the wide-curses features" >&5 +echo "$as_me:29934: checking if you want the wide-curses features" >&5 echo $ECHO_N "checking if you want the wide-curses features... $ECHO_C" >&6 # Check whether --enable-widec or --disable-widec was given. @@ -29836,10 +29948,10 @@ else use_wide_curses=$cf_wide_curses fi; -echo "$as_me:29839: result: $use_wide_curses" >&5 +echo "$as_me:29951: result: $use_wide_curses" >&5 echo "${ECHO_T}$use_wide_curses" >&6 -echo "$as_me:29842: checking if color-style code should be used" >&5 +echo "$as_me:29954: checking if color-style code should be used" >&5 echo $ECHO_N "checking if color-style code should be used... $ECHO_C" >&6 # Check whether --enable-color-style or --disable-color-style was given. @@ -29857,9 +29969,9 @@ else fi; -case $use_color_style in +case "$use_color_style" in (no) - echo "$as_me:29862: result: no" >&5 + echo "$as_me:29974: result: no" >&5 echo "${ECHO_T}no" >&6 INSTALL_LSS= ;; @@ -29869,10 +29981,10 @@ cat >>confdefs.h <<\EOF #define USE_COLOR_STYLE 1 EOF - echo "$as_me:29872: result: yes" >&5 + echo "$as_me:29984: result: yes" >&5 echo "${ECHO_T}yes" >&6 - echo "$as_me:29875: checking for location of style-sheet file" >&5 + echo "$as_me:29987: checking for location of style-sheet file" >&5 echo $ECHO_N "checking for location of style-sheet file... $ECHO_C" >&6 # Check whether --with-lss-file or --without-lss-file was given. @@ -29896,19 +30008,19 @@ case ".$withval" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval withval="$withval" case ".$withval" in (.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:29911: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:30023: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -29917,7 +30029,7 @@ esac fi eval LYNX_LSS_FILE="$withval" - echo "$as_me:29920: result: $LYNX_LSS_FILE" >&5 + echo "$as_me:30032: result: $LYNX_LSS_FILE" >&5 echo "${ECHO_T}$LYNX_LSS_FILE" >&6 test "$LYNX_LSS_FILE" = no && LYNX_LSS_FILE= @@ -29930,7 +30042,7 @@ EOF ;; esac -echo "$as_me:29933: checking for the default configuration-file" >&5 +echo "$as_me:30045: checking for the default configuration-file" >&5 echo $ECHO_N "checking for the default configuration-file... $ECHO_C" >&6 # Check whether --with-cfg-file or --without-cfg-file was given. @@ -29954,19 +30066,19 @@ case ".$withval" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval withval="$withval" case ".$withval" in (.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:29969: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:30081: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -29975,7 +30087,7 @@ esac fi eval LYNX_CFG_FILE="$withval" -echo "$as_me:29978: result: $LYNX_CFG_FILE" >&5 +echo "$as_me:30090: result: $LYNX_CFG_FILE" >&5 echo "${ECHO_T}$LYNX_CFG_FILE" >&6 test "$LYNX_CFG_FILE" = no && LYNX_CFG_FILE= @@ -29984,7 +30096,7 @@ cat >>confdefs.h <<EOF #define LYNX_CFG_FILE "$LYNX_CFG_FILE" EOF -echo "$as_me:29987: checking for the default configuration-path" >&5 +echo "$as_me:30099: checking for the default configuration-path" >&5 echo $ECHO_N "checking for the default configuration-path... $ECHO_C" >&6 # Check whether --with-cfg-path or --without-cfg-path was given. @@ -30008,19 +30120,19 @@ case ".$withval" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval withval="$withval" case ".$withval" in (.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:30023: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:30135: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -30029,17 +30141,17 @@ esac fi eval LYNX_CFG_PATH="$withval" -echo "$as_me:30032: result: $LYNX_CFG_PATH" >&5 +echo "$as_me:30144: result: $LYNX_CFG_PATH" >&5 echo "${ECHO_T}$LYNX_CFG_PATH" >&6 -test -z "$LYNX_CFG_PATH" && `echo "$LYNX_CFG_FILE" | sed -e 's%/[^/]*$%%'` +test -z "$LYNX_CFG_PATH" && LYNX_CFG_PATH="`echo "$LYNX_CFG_FILE" | sed -e 's%/[^/]*$%%'`" test "x$LYNX_CFG_PATH" = xno && LYNX_CFG_PATH= cat >>confdefs.h <<EOF #define LYNX_CFG_PATH "$LYNX_CFG_PATH" EOF -echo "$as_me:30042: checking if htmlized lynx.cfg should be built" >&5 +echo "$as_me:30154: checking if htmlized lynx.cfg should be built" >&5 echo $ECHO_N "checking if htmlized lynx.cfg should be built... $ECHO_C" >&6 # Check whether --enable-htmlized-cfg or --disable-htmlized-cfg was given. @@ -30056,15 +30168,15 @@ else use_htmlized_cfg=no fi; -echo "$as_me:30059: result: $use_htmlized_cfg" >&5 +echo "$as_me:30171: result: $use_htmlized_cfg" >&5 echo "${ECHO_T}$use_htmlized_cfg" >&6 LYNXCFG_MAKE='' -if test $use_htmlized_cfg = no ; then +if test "$use_htmlized_cfg" = no ; then LYNXCFG_MAKE='#' fi -echo "$as_me:30067: checking if local doc directory should be linked to help page" >&5 +echo "$as_me:30179: checking if local doc directory should be linked to help page" >&5 echo $ECHO_N "checking if local doc directory should be linked to help page... $ECHO_C" >&6 # Check whether --enable-local-docs or --disable-local-docs was given. @@ -30081,15 +30193,15 @@ else use_local_docs=no fi; -echo "$as_me:30084: result: $use_local_docs" >&5 +echo "$as_me:30196: result: $use_local_docs" >&5 echo "${ECHO_T}$use_local_docs" >&6 LYNXDOC_MAKE='' -if test $use_local_docs = no ; then +if test "$use_local_docs" = no ; then LYNXDOC_MAKE='#' fi -echo "$as_me:30092: checking for MIME library directory" >&5 +echo "$as_me:30204: checking for MIME library directory" >&5 echo $ECHO_N "checking for MIME library directory... $ECHO_C" >&6 # Check whether --with-mime-libdir or --without-mime-libdir was given. @@ -30113,19 +30225,19 @@ case ".$withval" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval withval="$withval" case ".$withval" in (.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - withval=`echo $withval | sed -e s%NONE%$cf_path_syntax%` + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:30128: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:30240: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -30134,7 +30246,7 @@ esac fi eval MIME_LIBDIR="$withval" -echo "$as_me:30137: result: $MIME_LIBDIR" >&5 +echo "$as_me:30249: result: $MIME_LIBDIR" >&5 echo "${ECHO_T}$MIME_LIBDIR" >&6 MIME_LIBDIR=`echo "$MIME_LIBDIR" | sed -e 's,/$,,' -e 's,$,/,'` @@ -30142,7 +30254,7 @@ cat >>confdefs.h <<EOF #define MIME_LIBDIR "$MIME_LIBDIR" EOF -echo "$as_me:30145: checking if locale-charset selection logic should be used" >&5 +echo "$as_me:30257: checking if locale-charset selection logic should be used" >&5 echo $ECHO_N "checking if locale-charset selection logic should be used... $ECHO_C" >&6 # Check whether --enable-locale-charset or --disable-locale-charset was given. @@ -30159,16 +30271,16 @@ else use_locale_charset=yes fi; -echo "$as_me:30162: result: $use_locale_charset" >&5 +echo "$as_me:30274: result: $use_locale_charset" >&5 echo "${ECHO_T}$use_locale_charset" >&6 -test $use_locale_charset != no && +test "$use_locale_charset" != no && cat >>confdefs.h <<\EOF #define USE_LOCALE_CHARSET 1 EOF CHARSET_DEFS= -echo "$as_me:30171: checking if you want only a few charsets" >&5 +echo "$as_me:30283: checking if you want only a few charsets" >&5 echo $ECHO_N "checking if you want only a few charsets... $ECHO_C" >&6 # Check whether --with-charsets or --without-charsets was given. @@ -30180,7 +30292,7 @@ else fi; if test -n "$cf_charsets" ; then - echo "$as_me:30183: result: yes" >&5 + echo "$as_me:30295: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\EOF @@ -30194,16 +30306,16 @@ EOF if test "$cf_charsets" = "minimal" ; then test -n "$verbose" && echo " using minimal list of charsets: $cf_min_charsets" 1>&6 -echo "${as_me:-configure}:30197: testing using minimal list of charsets: $cf_min_charsets ..." 1>&5 +echo "${as_me:-configure}:30309: testing using minimal list of charsets: $cf_min_charsets ..." 1>&5 fi - cf_charsets=`echo $cf_charsets | sed -e "s/minimal/$cf_min_charsets/g" -e 's/,/ /g'` + cf_charsets=`echo "$cf_charsets" | sed -e "s/minimal/$cf_min_charsets/g" -e 's/,/ /g'` for cf_charset in $cf_charsets do - cf_def_charset=`echo $cf_charset | sed -e 's/+/_/g' -e 's/-/_/g'` + cf_def_charset=`echo "$cf_charset" | sed -e 's/+/_/g' -e 's/-/_/g'` cf_use_charset=no # check charsets that are defined via .tbl files - if ( egrep '^M'$cf_charset'$' $srcdir/src/chrtrans/*.tbl 2>/dev/null >/dev/null ) + if ( egrep '^M'$cf_charset'$' "$srcdir"/src/chrtrans/*.tbl 2>/dev/null >/dev/null ) then cf_use_charset=yes # check charsets that are "built-in" @@ -30217,32 +30329,32 @@ echo "${as_me:-configure}:30197: testing using minimal list of charsets: $cf_min fi done fi - if test $cf_use_charset=yes + if test "$cf_use_charset" = yes then test -n "$verbose" && echo " found $cf_charset" 1>&6 -echo "${as_me:-configure}:30224: testing found $cf_charset ..." 1>&5 +echo "${as_me:-configure}:30336: testing found $cf_charset ..." 1>&5 CHARSET_DEFS="-DNO_CHARSET_${cf_def_charset}=0 $CHARSET_DEFS" else test -n "$verbose" && echo " not found $cf_charset" 1>&6 -echo "${as_me:-configure}:30230: testing not found $cf_charset ..." 1>&5 +echo "${as_me:-configure}:30342: testing not found $cf_charset ..." 1>&5 fi done else - echo "$as_me:30235: result: no" >&5 + echo "$as_me:30347: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:30239: checking for ANSI C header files" >&5 +echo "$as_me:30351: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30245 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30357 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -30250,14 +30362,14 @@ else #include <float.h> _ACEOF -if { (eval echo "$as_me:30253: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:30365: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:30259: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:30371: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -30270,21 +30382,21 @@ if test -z "$ac_cpp_err"; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 ac_cv_header_stdc=no fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line 30281 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30393 "configure" #include "confdefs.h" #include <string.h> _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "memchr" >/dev/null 2>&1; then + $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no @@ -30295,14 +30407,14 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -#line 30299 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30411 "configure" #include "confdefs.h" #include <stdlib.h> _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "free" >/dev/null 2>&1; then + $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no @@ -30316,8 +30428,8 @@ if test $ac_cv_header_stdc = yes; then if test "$cross_compiling" = yes; then : else - cat >conftest.$ac_ext <<_ACEOF -#line 30320 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30432 "configure" #include "confdefs.h" #include <ctype.h> #if ((' ' & 0x0FF) == 0x020) @@ -30342,29 +30454,29 @@ main (void) $ac_main_return (0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:30346: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:30458: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:30349: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:30351: \"$ac_try\"") >&5 + echo "$as_me:30461: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:30463: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:30354: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:30466: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_header_stdc=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi fi -echo "$as_me:30367: result: $ac_cv_header_stdc" >&5 +echo "$as_me:30479: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc = yes; then @@ -30374,13 +30486,13 @@ EOF fi -echo "$as_me:30377: checking whether time.h and sys/time.h may both be included" >&5 +echo "$as_me:30489: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30383 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30495 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/time.h> @@ -30395,27 +30507,27 @@ return 0; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:30399: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:30511: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:30402: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:30405: \"$ac_try\"") >&5 + echo "$as_me:30514: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:30517: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:30408: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:30520: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_header_time=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_header_time=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:30418: result: $ac_cv_header_time" >&5 +echo "$as_me:30530: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then @@ -30428,13 +30540,13 @@ fi ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -echo "$as_me:30431: checking for $ac_hdr that defines DIR" >&5 +echo "$as_me:30543: checking for $ac_hdr that defines DIR" >&5 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30437 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30549 "configure" #include "confdefs.h" #include <sys/types.h> #include <$ac_hdr> @@ -30448,29 +30560,29 @@ return 0; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:30452: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:30564: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:30455: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:30458: \"$ac_try\"") >&5 + echo "$as_me:30567: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:30570: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:30461: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:30573: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:30471: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:30583: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 EOF @@ -30481,15 +30593,15 @@ fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then - echo "$as_me:30484: checking for opendir in -ldir" >&5 + echo "$as_me:30596: checking for opendir in -ldir" >&5 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 if test "${ac_cv_lib_dir_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldir $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 30492 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 30604 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -30507,43 +30619,43 @@ opendir (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:30511: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:30623: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:30514: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:30517: \"$ac_try\"") >&5 + echo "$as_me:30626: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:30629: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:30520: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:30632: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_dir_opendir=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_dir_opendir=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:30531: result: $ac_cv_lib_dir_opendir" >&5 +echo "$as_me:30643: result: $ac_cv_lib_dir_opendir" >&5 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 -if test $ac_cv_lib_dir_opendir = yes; then +if test "$ac_cv_lib_dir_opendir" = yes; then LIBS="$LIBS -ldir" fi else - echo "$as_me:30538: checking for opendir in -lx" >&5 + echo "$as_me:30650: checking for opendir in -lx" >&5 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 if test "${ac_cv_lib_x_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lx $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 30546 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 30658 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -30561,30 +30673,30 @@ opendir (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:30565: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:30677: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:30568: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:30571: \"$ac_try\"") >&5 + echo "$as_me:30680: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:30683: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:30574: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:30686: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_x_opendir=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_x_opendir=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:30585: result: $ac_cv_lib_x_opendir" >&5 +echo "$as_me:30697: result: $ac_cv_lib_x_opendir" >&5 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 -if test $ac_cv_lib_x_opendir = yes; then +if test "$ac_cv_lib_x_opendir" = yes; then LIBS="$LIBS -lx" fi @@ -30611,24 +30723,24 @@ for ac_header in \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:30614: checking for $ac_header" >&5 +echo "$as_me:30726: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30620 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30732 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:30624: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:30736: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:30630: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:30742: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -30641,14 +30753,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:30649: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:30761: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -30656,14 +30768,14 @@ EOF fi done -echo "$as_me:30659: checking termio.h and termios.h" >&5 +echo "$as_me:30771: checking termio.h and termios.h" >&5 echo $ECHO_N "checking termio.h and termios.h... $ECHO_C" >&6 if test "${cf_cv_termio_and_termios+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30666 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30778 "configure" #include "confdefs.h" #if HAVE_TERMIO_H @@ -30680,42 +30792,42 @@ putchar (0x0a) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:30684: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:30796: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:30687: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:30690: \"$ac_try\"") >&5 + echo "$as_me:30799: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:30802: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:30693: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:30805: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_termio_and_termios=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_termio_and_termios=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:30704: result: $cf_cv_termio_and_termios" >&5 +echo "$as_me:30816: result: $cf_cv_termio_and_termios" >&5 echo "${ECHO_T}$cf_cv_termio_and_termios" >&6 -test $cf_cv_termio_and_termios = no && +test "$cf_cv_termio_and_termios" = no && cat >>confdefs.h <<\EOF #define TERMIO_AND_TERMIOS 1 EOF -echo "$as_me:30711: checking for sigaction and structs" >&5 +echo "$as_me:30823: checking for sigaction and structs" >&5 echo $ECHO_N "checking for sigaction and structs... $ECHO_C" >&6 if test "${cf_cv_func_sigaction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 30718 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 30830 "configure" #include "confdefs.h" #include <sys/types.h> @@ -30734,28 +30846,28 @@ struct sigaction act; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:30738: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:30850: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:30741: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:30744: \"$ac_try\"") >&5 + echo "$as_me:30853: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:30856: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:30747: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:30859: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_func_sigaction=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_func_sigaction=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:30758: result: $cf_cv_func_sigaction" >&5 +echo "$as_me:30870: result: $cf_cv_func_sigaction" >&5 echo "${ECHO_T}$cf_cv_func_sigaction" >&6 test "$cf_cv_func_sigaction" = yes && cat >>confdefs.h <<\EOF @@ -30765,24 +30877,24 @@ EOF for ac_header in sys/wait.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:30768: checking for $ac_header" >&5 +echo "$as_me:30880: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30774 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30886 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:30778: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:30890: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:30784: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:30896: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -30795,14 +30907,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:30803: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:30915: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -30812,7 +30924,7 @@ done cf_wait_headers="#include <sys/types.h> " -if test $ac_cv_header_sys_wait_h = yes; then +if test "$ac_cv_header_sys_wait_h" = yes; then cf_wait_headers="$cf_wait_headers #include <sys/wait.h> " @@ -30821,24 +30933,24 @@ else for ac_header in wait.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:30824: checking for $ac_header" >&5 +echo "$as_me:30936: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30830 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30942 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:30834: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:30946: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:30840: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:30952: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -30851,14 +30963,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:30859: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:30971: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -30869,24 +30981,24 @@ done for ac_header in waitstatus.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:30872: checking for $ac_header" >&5 +echo "$as_me:30984: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30878 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 30990 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:30882: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:30994: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:30888: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:31000: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -30899,14 +31011,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:30907: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:31019: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -30914,26 +31026,26 @@ EOF fi done -if test $ac_cv_header_wait_h = yes; then +if test "$ac_cv_header_wait_h" = yes; then cf_wait_headers="$cf_wait_headers #include <wait.h> " fi -if test $ac_cv_header_waitstatus_h = yes; then +if test "$ac_cv_header_waitstatus_h" = yes; then cf_wait_headers="$cf_wait_headers #include <waitstatus.h> " fi fi -echo "$as_me:30929: checking for union wait" >&5 +echo "$as_me:31041: checking for union wait" >&5 echo $ECHO_N "checking for union wait... $ECHO_C" >&6 if test "${cf_cv_type_unionwait+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 30936 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31048 "configure" #include "confdefs.h" $cf_wait_headers int @@ -30951,27 +31063,27 @@ int x; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:30955: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:31067: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:30958: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:30961: \"$ac_try\"") >&5 + echo "$as_me:31070: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:31073: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:30964: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31076: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_type_unionwait=no echo compiles ok w/o union wait 1>&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 - cat >conftest.$ac_ext <<_ACEOF -#line 30974 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31086 "configure" #include "confdefs.h" $cf_wait_headers int @@ -30997,48 +31109,48 @@ union wait x; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:31001: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:31113: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:31004: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:31007: \"$ac_try\"") >&5 + echo "$as_me:31116: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:31119: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31010: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31122: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_type_unionwait=yes echo compiles ok with union wait and possibly macros too 1>&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_type_unionwait=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:31025: result: $cf_cv_type_unionwait" >&5 +echo "$as_me:31137: result: $cf_cv_type_unionwait" >&5 echo "${ECHO_T}$cf_cv_type_unionwait" >&6 -test $cf_cv_type_unionwait = yes && +test "$cf_cv_type_unionwait" = yes && cat >>confdefs.h <<\EOF #define HAVE_TYPE_UNIONWAIT 1 EOF -if test $cf_cv_type_unionwait = yes; then +if test "$cf_cv_type_unionwait" = yes; then - echo "$as_me:31034: checking if union wait can be used as wait-arg" >&5 + echo "$as_me:31146: checking if union wait can be used as wait-arg" >&5 echo $ECHO_N "checking if union wait can be used as wait-arg... $ECHO_C" >&6 if test "${cf_cv_arg_union_wait+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31041 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31153 "configure" #include "confdefs.h" $cf_wait_headers int @@ -31049,43 +31161,43 @@ union wait x; wait(&x) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31053: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31165: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31056: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31059: \"$ac_try\"") >&5 + echo "$as_me:31168: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31171: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31062: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31174: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_arg_union_wait=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_arg_union_wait=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi - echo "$as_me:31074: result: $cf_cv_arg_union_wait" >&5 + echo "$as_me:31186: result: $cf_cv_arg_union_wait" >&5 echo "${ECHO_T}$cf_cv_arg_union_wait" >&6 - test $cf_cv_arg_union_wait = yes && + test "$cf_cv_arg_union_wait" = yes && cat >>confdefs.h <<\EOF #define WAIT_USES_UNION 1 EOF - echo "$as_me:31081: checking if union wait can be used as waitpid-arg" >&5 + echo "$as_me:31193: checking if union wait can be used as waitpid-arg" >&5 echo $ECHO_N "checking if union wait can be used as waitpid-arg... $ECHO_C" >&6 if test "${cf_cv_arg_union_waitpid+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31088 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31200 "configure" #include "confdefs.h" $cf_wait_headers int @@ -31096,50 +31208,50 @@ union wait x; waitpid(0, &x, 0) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31100: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31212: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31103: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31106: \"$ac_try\"") >&5 + echo "$as_me:31215: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31218: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31109: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31221: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_arg_union_waitpid=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_arg_union_waitpid=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi - echo "$as_me:31121: result: $cf_cv_arg_union_waitpid" >&5 + echo "$as_me:31233: result: $cf_cv_arg_union_waitpid" >&5 echo "${ECHO_T}$cf_cv_arg_union_waitpid" >&6 - test $cf_cv_arg_union_waitpid = yes && + test "$cf_cv_arg_union_waitpid" = yes && cat >>confdefs.h <<\EOF #define WAITPID_USES_UNION 1 EOF fi -echo "$as_me:31130: checking for uid_t in sys/types.h" >&5 +echo "$as_me:31242: checking for uid_t in sys/types.h" >&5 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 if test "${ac_cv_type_uid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31136 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31248 "configure" #include "confdefs.h" #include <sys/types.h> _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "uid_t" >/dev/null 2>&1; then + $EGREP "uid_t" >/dev/null 2>&1; then ac_cv_type_uid_t=yes else ac_cv_type_uid_t=no @@ -31147,7 +31259,7 @@ fi rm -rf conftest* fi -echo "$as_me:31150: result: $ac_cv_type_uid_t" >&5 +echo "$as_me:31262: result: $ac_cv_type_uid_t" >&5 echo "${ECHO_T}$ac_cv_type_uid_t" >&6 if test $ac_cv_type_uid_t = no; then @@ -31161,7 +31273,7 @@ EOF fi -echo "$as_me:31164: checking type of array argument to getgroups" >&5 +echo "$as_me:31276: checking type of array argument to getgroups" >&5 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6 if test "${ac_cv_type_getgroups+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -31169,8 +31281,8 @@ else if test "$cross_compiling" = yes; then ac_cv_type_getgroups=cross else - cat >conftest.$ac_ext <<_ACEOF -#line 31173 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31285 "configure" #include "confdefs.h" /* Thanks to Mike Rendell for this test. */ #include <sys/types.h> @@ -31195,35 +31307,35 @@ main (void) $ac_main_return ((n > 0 && gidset[n] != val.gval) ? 1 : 0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:31199: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:31311: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:31202: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:31204: \"$ac_try\"") >&5 + echo "$as_me:31314: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:31316: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31207: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31319: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_getgroups=gid_t else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_getgroups=int fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi if test $ac_cv_type_getgroups = cross; then - cat >conftest.$ac_ext <<_ACEOF -#line 31220 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31332 "configure" #include "confdefs.h" #include <unistd.h> _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then + $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then ac_cv_type_getgroups=gid_t else ac_cv_type_getgroups=int @@ -31232,20 +31344,20 @@ rm -rf conftest* fi fi -echo "$as_me:31235: result: $ac_cv_type_getgroups" >&5 +echo "$as_me:31347: result: $ac_cv_type_getgroups" >&5 echo "${ECHO_T}$ac_cv_type_getgroups" >&6 cat >>confdefs.h <<EOF #define GETGROUPS_T $ac_cv_type_getgroups EOF -echo "$as_me:31242: checking for off_t" >&5 +echo "$as_me:31354: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 if test "${ac_cv_type_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31248 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31360 "configure" #include "confdefs.h" $ac_includes_default int @@ -31259,29 +31371,29 @@ if (sizeof (off_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31263: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31375: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31266: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31269: \"$ac_try\"") >&5 + echo "$as_me:31378: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31381: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31272: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31384: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_off_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_off_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:31282: result: $ac_cv_type_off_t" >&5 +echo "$as_me:31394: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6 -if test $ac_cv_type_off_t = yes; then +if test "$ac_cv_type_off_t" = yes; then : else @@ -31291,13 +31403,13 @@ EOF fi -echo "$as_me:31294: checking for pid_t" >&5 +echo "$as_me:31406: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31300 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31412 "configure" #include "confdefs.h" $ac_includes_default int @@ -31311,29 +31423,29 @@ if (sizeof (pid_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31315: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31427: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31318: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31321: \"$ac_try\"") >&5 + echo "$as_me:31430: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31433: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31324: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31436: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_pid_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_pid_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:31334: result: $ac_cv_type_pid_t" >&5 +echo "$as_me:31446: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 -if test $ac_cv_type_pid_t = yes; then +if test "$ac_cv_type_pid_t" = yes; then : else @@ -31343,19 +31455,19 @@ EOF fi -echo "$as_me:31346: checking for uid_t in sys/types.h" >&5 +echo "$as_me:31458: checking for uid_t in sys/types.h" >&5 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 if test "${ac_cv_type_uid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31352 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31464 "configure" #include "confdefs.h" #include <sys/types.h> _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "uid_t" >/dev/null 2>&1; then + $EGREP "uid_t" >/dev/null 2>&1; then ac_cv_type_uid_t=yes else ac_cv_type_uid_t=no @@ -31363,7 +31475,7 @@ fi rm -rf conftest* fi -echo "$as_me:31366: result: $ac_cv_type_uid_t" >&5 +echo "$as_me:31478: result: $ac_cv_type_uid_t" >&5 echo "${ECHO_T}$ac_cv_type_uid_t" >&6 if test $ac_cv_type_uid_t = no; then @@ -31377,13 +31489,13 @@ EOF fi -echo "$as_me:31380: checking for mode_t" >&5 +echo "$as_me:31492: checking for mode_t" >&5 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 if test "${ac_cv_type_mode_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31386 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31498 "configure" #include "confdefs.h" $ac_includes_default int @@ -31397,29 +31509,29 @@ if (sizeof (mode_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31401: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31513: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31404: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31407: \"$ac_try\"") >&5 + echo "$as_me:31516: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31519: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31410: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31522: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_mode_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_mode_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:31420: result: $ac_cv_type_mode_t" >&5 +echo "$as_me:31532: result: $ac_cv_type_mode_t" >&5 echo "${ECHO_T}$ac_cv_type_mode_t" >&6 -if test $ac_cv_type_mode_t = yes; then +if test "$ac_cv_type_mode_t" = yes; then : else @@ -31429,13 +31541,13 @@ EOF fi - echo "$as_me:31432: checking for ssize_t" >&5 + echo "$as_me:31544: checking for ssize_t" >&5 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 if test "${ac_cv_type_ssize_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31438 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31550 "configure" #include "confdefs.h" $ac_includes_default int @@ -31449,35 +31561,35 @@ if (sizeof (ssize_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31453: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31565: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31456: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31459: \"$ac_try\"") >&5 + echo "$as_me:31568: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31571: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31462: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31574: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_ssize_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_ssize_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:31472: result: $ac_cv_type_ssize_t" >&5 +echo "$as_me:31584: result: $ac_cv_type_ssize_t" >&5 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 -if test $ac_cv_type_ssize_t = yes; then +if test "$ac_cv_type_ssize_t" = yes; then ac_cv_type_ssize_t=yes else ac_cv_type_ssize_t=no fi - if test $ac_cv_type_ssize_t = no; then + if test "$ac_cv_type_ssize_t" = no; then cat >>confdefs.h <<\EOF #define ssize_t int @@ -31485,13 +31597,13 @@ EOF fi - echo "$as_me:31488: checking for socklen_t" >&5 + echo "$as_me:31600: checking for socklen_t" >&5 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 if test "${ac_cv_type_socklen_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31494 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31606 "configure" #include "confdefs.h" #include <sys/types.h> @@ -31508,35 +31620,35 @@ if (sizeof (socklen_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31512: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31624: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31515: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31518: \"$ac_try\"") >&5 + echo "$as_me:31627: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31630: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31521: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31633: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_socklen_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_socklen_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:31531: result: $ac_cv_type_socklen_t" >&5 +echo "$as_me:31643: result: $ac_cv_type_socklen_t" >&5 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 -if test $ac_cv_type_socklen_t = yes; then +if test "$ac_cv_type_socklen_t" = yes; then ac_cv_type_socklen_t=yes else ac_cv_type_socklen_t=no fi - if test $ac_cv_type_socklen_t = no; then + if test "$ac_cv_type_socklen_t" = no; then cat >>confdefs.h <<\EOF #define socklen_t int @@ -31544,7 +31656,7 @@ EOF fi -echo "$as_me:31547: checking for long long type" >&5 +echo "$as_me:31659: checking for long long type" >&5 echo $ECHO_N "checking for long long type... $ECHO_C" >&6 if test "${cf_cv_type_long_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -31561,11 +31673,11 @@ main (void) _CFEOF (eval $ac_compile) 2>conftest.err ac_status=$? - if test $ac_status = 0 && test -s conftest.err + if test "$ac_status" = 0 && test -s conftest.err then fgrep warning conftest.err >/dev/null 2>&1 && ac_status=1 fi - if test $ac_status != 0 + if test "$ac_status" != 0 then cf_cv_type_long_long=no else @@ -31575,7 +31687,7 @@ _CFEOF rm -f conftest* fi -echo "$as_me:31578: result: $cf_cv_type_long_long" >&5 +echo "$as_me:31690: result: $cf_cv_type_long_long" >&5 echo "${ECHO_T}$cf_cv_type_long_long" >&6 if test "$cf_cv_type_long_long" = yes ; then @@ -31586,14 +31698,14 @@ EOF fi -echo "$as_me:31589: checking for tm.tm_gmtoff" >&5 +echo "$as_me:31701: checking for tm.tm_gmtoff" >&5 echo $ECHO_N "checking for tm.tm_gmtoff... $ECHO_C" >&6 if test "${cf_cv_tm_gmtoff+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31596 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31708 "configure" #include "confdefs.h" #ifdef TIME_WITH_SYS_TIME @@ -31617,41 +31729,41 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31621: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31733: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31624: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31627: \"$ac_try\"") >&5 + echo "$as_me:31736: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31739: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31630: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31742: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_tm_gmtoff=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_tm_gmtoff=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:31641: result: $cf_cv_tm_gmtoff" >&5 +echo "$as_me:31753: result: $cf_cv_tm_gmtoff" >&5 echo "${ECHO_T}$cf_cv_tm_gmtoff" >&6 -test $cf_cv_tm_gmtoff = no && +test "$cf_cv_tm_gmtoff" = no && cat >>confdefs.h <<\EOF #define DONT_HAVE_TM_GMTOFF 1 EOF -echo "$as_me:31648: checking for int" >&5 +echo "$as_me:31760: checking for int" >&5 echo $ECHO_N "checking for int... $ECHO_C" >&6 if test "${ac_cv_type_int+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31654 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31766 "configure" #include "confdefs.h" $ac_includes_default int @@ -31665,30 +31777,30 @@ if (sizeof (int)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31669: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31781: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31672: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31675: \"$ac_try\"") >&5 + echo "$as_me:31784: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31787: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31678: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31790: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_int=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_int=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:31688: result: $ac_cv_type_int" >&5 +echo "$as_me:31800: result: $ac_cv_type_int" >&5 echo "${ECHO_T}$ac_cv_type_int" >&6 -echo "$as_me:31691: checking size of int" >&5 +echo "$as_me:31803: checking size of int" >&5 echo $ECHO_N "checking size of int... $ECHO_C" >&6 if test "${ac_cv_sizeof_int+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -31696,8 +31808,8 @@ else if test "$ac_cv_type_int" = yes; then if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -#line 31700 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 31812 "configure" #include "confdefs.h" $ac_includes_default int @@ -31708,22 +31820,22 @@ int _array_ [1 - 2 * !((sizeof (int)) >= 0)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31712: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31824: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31715: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31718: \"$ac_try\"") >&5 + echo "$as_me:31827: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31830: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31721: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31833: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 31726 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31838 "configure" #include "confdefs.h" $ac_includes_default int @@ -31734,33 +31846,33 @@ int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31738: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31850: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31741: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31744: \"$ac_try\"") >&5 + echo "$as_me:31853: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31856: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31747: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31859: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1`; ac_mid=`expr 2 '*' "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 31763 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31875 "configure" #include "confdefs.h" $ac_includes_default int @@ -31771,33 +31883,33 @@ int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31775: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31887: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31778: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31781: \"$ac_try\"") >&5 + echo "$as_me:31890: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31893: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31784: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31896: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` +cat "conftest.$ac_ext" >&5 +ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -#line 31800 "configure" + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +#line 31912 "configure" #include "confdefs.h" $ac_includes_default int @@ -31808,35 +31920,35 @@ int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31812: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:31924: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31815: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31818: \"$ac_try\"") >&5 + echo "$as_me:31927: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:31930: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31821: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31933: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done ac_cv_sizeof_int=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:31834: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:31946: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else - cat >conftest.$ac_ext <<_ACEOF -#line 31839 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 31951 "configure" #include "confdefs.h" $ac_includes_default int @@ -31851,24 +31963,24 @@ fclose (f); return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:31855: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:31967: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:31858: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:31860: \"$ac_try\"") >&5 + echo "$as_me:31970: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:31972: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31863: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:31975: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sizeof_int=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi rm -f conftest.val @@ -31876,7 +31988,7 @@ else ac_cv_sizeof_int=0 fi fi -echo "$as_me:31879: result: $ac_cv_sizeof_int" >&5 +echo "$as_me:31991: result: $ac_cv_sizeof_int" >&5 echo "${ECHO_T}$ac_cv_sizeof_int" >&6 cat >>confdefs.h <<EOF #define SIZEOF_INT $ac_cv_sizeof_int @@ -31885,11 +31997,11 @@ EOF if test "${ac_cv_type_int+set}" = set; then cf_cv_sizeof="$ac_cv_sizeof_int" if test "${ac_cv_sizeof_int+set}" != set; then - { echo "$as_me:31888: WARNING: using 4 for sizeof int" >&5 + { echo "$as_me:32000: WARNING: using 4 for sizeof int" >&5 echo "$as_me: WARNING: using 4 for sizeof int" >&2;} ac_cv_sizeof_int=4 elif test "x${ac_cv_sizeof_int}" = x0; then - { echo "$as_me:31892: WARNING: sizeof int not found, using 4" >&5 + { echo "$as_me:32004: WARNING: sizeof int not found, using 4" >&5 echo "$as_me: WARNING: sizeof int not found, using 4" >&2;} ac_cv_sizeof_int=4 fi @@ -31898,18 +32010,18 @@ echo "$as_me: WARNING: sizeof int not found, using 4" >&2;} cf_cv_type=`echo "sizeof_int" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` - sed -e "s/\([ ]$cf_cv_type[ ]\).*/\1$ac_cv_sizeof_int/" confdefs.h >conftest.val + sed -e "s/\\([ ]${cf_cv_type}[ ]\\).*/\\1$ac_cv_sizeof_int/" confdefs.h >conftest.val mv conftest.val confdefs.h fi fi -echo "$as_me:31906: checking for long" >&5 +echo "$as_me:32018: checking for long" >&5 echo $ECHO_N "checking for long... $ECHO_C" >&6 if test "${ac_cv_type_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 31912 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32024 "configure" #include "confdefs.h" $ac_includes_default int @@ -31923,30 +32035,30 @@ if (sizeof (long)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31927: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32039: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31930: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31933: \"$ac_try\"") >&5 + echo "$as_me:32042: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32045: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31936: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32048: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_long=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_long=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:31946: result: $ac_cv_type_long" >&5 +echo "$as_me:32058: result: $ac_cv_type_long" >&5 echo "${ECHO_T}$ac_cv_type_long" >&6 -echo "$as_me:31949: checking size of long" >&5 +echo "$as_me:32061: checking size of long" >&5 echo $ECHO_N "checking size of long... $ECHO_C" >&6 if test "${ac_cv_sizeof_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -31954,8 +32066,8 @@ else if test "$ac_cv_type_long" = yes; then if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -#line 31958 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 32070 "configure" #include "confdefs.h" $ac_includes_default int @@ -31966,22 +32078,22 @@ int _array_ [1 - 2 * !((sizeof (long)) >= 0)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31970: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32082: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31973: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:31976: \"$ac_try\"") >&5 + echo "$as_me:32085: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32088: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:31979: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32091: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 31984 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32096 "configure" #include "confdefs.h" $ac_includes_default int @@ -31992,33 +32104,33 @@ int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:31996: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32108: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:31999: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32002: \"$ac_try\"") >&5 + echo "$as_me:32111: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32114: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32005: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32117: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1`; ac_mid=`expr 2 '*' "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 32021 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32133 "configure" #include "confdefs.h" $ac_includes_default int @@ -32029,33 +32141,33 @@ int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32033: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32145: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32036: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32039: \"$ac_try\"") >&5 + echo "$as_me:32148: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32151: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32042: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32154: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` +cat "conftest.$ac_ext" >&5 +ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -#line 32058 "configure" + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +#line 32170 "configure" #include "confdefs.h" $ac_includes_default int @@ -32066,35 +32178,35 @@ int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32070: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32182: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32073: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32076: \"$ac_try\"") >&5 + echo "$as_me:32185: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32188: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32079: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32191: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done ac_cv_sizeof_long=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:32092: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:32204: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else - cat >conftest.$ac_ext <<_ACEOF -#line 32097 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32209 "configure" #include "confdefs.h" $ac_includes_default int @@ -32109,24 +32221,24 @@ fclose (f); return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:32113: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:32225: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:32116: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:32118: \"$ac_try\"") >&5 + echo "$as_me:32228: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:32230: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32121: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32233: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sizeof_long=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi rm -f conftest.val @@ -32134,7 +32246,7 @@ else ac_cv_sizeof_long=0 fi fi -echo "$as_me:32137: result: $ac_cv_sizeof_long" >&5 +echo "$as_me:32249: result: $ac_cv_sizeof_long" >&5 echo "${ECHO_T}$ac_cv_sizeof_long" >&6 cat >>confdefs.h <<EOF #define SIZEOF_LONG $ac_cv_sizeof_long @@ -32143,11 +32255,11 @@ EOF if test "${ac_cv_type_long+set}" = set; then cf_cv_sizeof="$ac_cv_sizeof_long" if test "${ac_cv_sizeof_long+set}" != set; then - { echo "$as_me:32146: WARNING: using 4 for sizeof long" >&5 + { echo "$as_me:32258: WARNING: using 4 for sizeof long" >&5 echo "$as_me: WARNING: using 4 for sizeof long" >&2;} ac_cv_sizeof_long=4 elif test "x${ac_cv_sizeof_long}" = x0; then - { echo "$as_me:32150: WARNING: sizeof long not found, using 4" >&5 + { echo "$as_me:32262: WARNING: sizeof long not found, using 4" >&5 echo "$as_me: WARNING: sizeof long not found, using 4" >&2;} ac_cv_sizeof_long=4 fi @@ -32156,18 +32268,18 @@ echo "$as_me: WARNING: sizeof long not found, using 4" >&2;} cf_cv_type=`echo "sizeof_long" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` - sed -e "s/\([ ]$cf_cv_type[ ]\).*/\1$ac_cv_sizeof_long/" confdefs.h >conftest.val + sed -e "s/\\([ ]${cf_cv_type}[ ]\\).*/\\1$ac_cv_sizeof_long/" confdefs.h >conftest.val mv conftest.val confdefs.h fi fi -echo "$as_me:32164: checking for off_t" >&5 +echo "$as_me:32276: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 if test "${ac_cv_type_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 32170 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32282 "configure" #include "confdefs.h" $ac_includes_default int @@ -32181,30 +32293,30 @@ if (sizeof (off_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32185: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32297: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32188: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32191: \"$ac_try\"") >&5 + echo "$as_me:32300: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32303: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32194: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32306: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_off_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_off_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:32204: result: $ac_cv_type_off_t" >&5 +echo "$as_me:32316: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6 -echo "$as_me:32207: checking size of off_t" >&5 +echo "$as_me:32319: checking size of off_t" >&5 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -32212,8 +32324,8 @@ else if test "$ac_cv_type_off_t" = yes; then if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -#line 32216 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 32328 "configure" #include "confdefs.h" $ac_includes_default int @@ -32224,22 +32336,22 @@ int _array_ [1 - 2 * !((sizeof (off_t)) >= 0)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32228: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32340: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32231: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32234: \"$ac_try\"") >&5 + echo "$as_me:32343: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32346: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32237: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32349: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 32242 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32354 "configure" #include "confdefs.h" $ac_includes_default int @@ -32250,33 +32362,33 @@ int _array_ [1 - 2 * !((sizeof (off_t)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32254: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32366: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32257: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32260: \"$ac_try\"") >&5 + echo "$as_me:32369: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32372: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32263: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32375: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1`; ac_mid=`expr 2 '*' "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 32279 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32391 "configure" #include "confdefs.h" $ac_includes_default int @@ -32287,33 +32399,33 @@ int _array_ [1 - 2 * !((sizeof (off_t)) >= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32291: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32403: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32294: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32297: \"$ac_try\"") >&5 + echo "$as_me:32406: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32409: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32300: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32412: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` +cat "conftest.$ac_ext" >&5 +ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -#line 32316 "configure" + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +#line 32428 "configure" #include "confdefs.h" $ac_includes_default int @@ -32324,35 +32436,35 @@ int _array_ [1 - 2 * !((sizeof (off_t)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32328: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32440: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32331: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32334: \"$ac_try\"") >&5 + echo "$as_me:32443: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32446: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32337: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32449: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done ac_cv_sizeof_off_t=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:32350: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:32462: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else - cat >conftest.$ac_ext <<_ACEOF -#line 32355 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32467 "configure" #include "confdefs.h" $ac_includes_default int @@ -32367,24 +32479,24 @@ fclose (f); return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:32371: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:32483: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:32374: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:32376: \"$ac_try\"") >&5 + echo "$as_me:32486: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:32488: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32379: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32491: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sizeof_off_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi rm -f conftest.val @@ -32392,7 +32504,7 @@ else ac_cv_sizeof_off_t=0 fi fi -echo "$as_me:32395: result: $ac_cv_sizeof_off_t" >&5 +echo "$as_me:32507: result: $ac_cv_sizeof_off_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6 cat >>confdefs.h <<EOF #define SIZEOF_OFF_T $ac_cv_sizeof_off_t @@ -32401,11 +32513,11 @@ EOF if test "${ac_cv_type_off_t+set}" = set; then cf_cv_sizeof="$ac_cv_sizeof_off_t" if test "${ac_cv_sizeof_off_t+set}" != set; then - { echo "$as_me:32404: WARNING: using 4 for sizeof off_t" >&5 + { echo "$as_me:32516: WARNING: using 4 for sizeof off_t" >&5 echo "$as_me: WARNING: using 4 for sizeof off_t" >&2;} ac_cv_sizeof_off_t=4 elif test "x${ac_cv_sizeof_off_t}" = x0; then - { echo "$as_me:32408: WARNING: sizeof off_t not found, using 4" >&5 + { echo "$as_me:32520: WARNING: sizeof off_t not found, using 4" >&5 echo "$as_me: WARNING: sizeof off_t not found, using 4" >&2;} ac_cv_sizeof_off_t=4 fi @@ -32414,18 +32526,18 @@ echo "$as_me: WARNING: sizeof off_t not found, using 4" >&2;} cf_cv_type=`echo "sizeof_off_t" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` - sed -e "s/\([ ]$cf_cv_type[ ]\).*/\1$ac_cv_sizeof_off_t/" confdefs.h >conftest.val + sed -e "s/\\([ ]${cf_cv_type}[ ]\\).*/\\1$ac_cv_sizeof_off_t/" confdefs.h >conftest.val mv conftest.val confdefs.h fi fi -echo "$as_me:32422: checking for size_t" >&5 +echo "$as_me:32534: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 32428 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32540 "configure" #include "confdefs.h" $ac_includes_default int @@ -32439,30 +32551,30 @@ if (sizeof (size_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32443: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32555: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32446: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32449: \"$ac_try\"") >&5 + echo "$as_me:32558: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32561: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32452: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32564: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_size_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_size_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:32462: result: $ac_cv_type_size_t" >&5 +echo "$as_me:32574: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 -echo "$as_me:32465: checking size of size_t" >&5 +echo "$as_me:32577: checking size of size_t" >&5 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -32470,8 +32582,8 @@ else if test "$ac_cv_type_size_t" = yes; then if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -#line 32474 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 32586 "configure" #include "confdefs.h" $ac_includes_default int @@ -32482,22 +32594,22 @@ int _array_ [1 - 2 * !((sizeof (size_t)) >= 0)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32486: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32598: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32489: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32492: \"$ac_try\"") >&5 + echo "$as_me:32601: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32604: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32495: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32607: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 32500 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32612 "configure" #include "confdefs.h" $ac_includes_default int @@ -32508,33 +32620,33 @@ int _array_ [1 - 2 * !((sizeof (size_t)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32512: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32624: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32515: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32518: \"$ac_try\"") >&5 + echo "$as_me:32627: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32630: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32521: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32633: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1`; ac_mid=`expr 2 '*' "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 32537 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32649 "configure" #include "confdefs.h" $ac_includes_default int @@ -32545,33 +32657,33 @@ int _array_ [1 - 2 * !((sizeof (size_t)) >= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32549: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32661: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32552: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32555: \"$ac_try\"") >&5 + echo "$as_me:32664: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32667: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32558: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32670: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` +cat "conftest.$ac_ext" >&5 +ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -#line 32574 "configure" + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +#line 32686 "configure" #include "confdefs.h" $ac_includes_default int @@ -32582,35 +32694,35 @@ int _array_ [1 - 2 * !((sizeof (size_t)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32586: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32698: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32589: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32592: \"$ac_try\"") >&5 + echo "$as_me:32701: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32704: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32595: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32707: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done ac_cv_sizeof_size_t=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:32608: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:32720: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else - cat >conftest.$ac_ext <<_ACEOF -#line 32613 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32725 "configure" #include "confdefs.h" $ac_includes_default int @@ -32625,24 +32737,24 @@ fclose (f); return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:32629: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:32741: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:32632: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:32634: \"$ac_try\"") >&5 + echo "$as_me:32744: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:32746: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32637: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32749: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sizeof_size_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi rm -f conftest.val @@ -32650,7 +32762,7 @@ else ac_cv_sizeof_size_t=0 fi fi -echo "$as_me:32653: result: $ac_cv_sizeof_size_t" >&5 +echo "$as_me:32765: result: $ac_cv_sizeof_size_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6 cat >>confdefs.h <<EOF #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t @@ -32659,11 +32771,11 @@ EOF if test "${ac_cv_type_size_t+set}" = set; then cf_cv_sizeof="$ac_cv_sizeof_size_t" if test "${ac_cv_sizeof_size_t+set}" != set; then - { echo "$as_me:32662: WARNING: using 4 for sizeof size_t" >&5 + { echo "$as_me:32774: WARNING: using 4 for sizeof size_t" >&5 echo "$as_me: WARNING: using 4 for sizeof size_t" >&2;} ac_cv_sizeof_size_t=4 elif test "x${ac_cv_sizeof_size_t}" = x0; then - { echo "$as_me:32666: WARNING: sizeof size_t not found, using 4" >&5 + { echo "$as_me:32778: WARNING: sizeof size_t not found, using 4" >&5 echo "$as_me: WARNING: sizeof size_t not found, using 4" >&2;} ac_cv_sizeof_size_t=4 fi @@ -32672,18 +32784,18 @@ echo "$as_me: WARNING: sizeof size_t not found, using 4" >&2;} cf_cv_type=`echo "sizeof_size_t" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` - sed -e "s/\([ ]$cf_cv_type[ ]\).*/\1$ac_cv_sizeof_size_t/" confdefs.h >conftest.val + sed -e "s/\\([ ]${cf_cv_type}[ ]\\).*/\\1$ac_cv_sizeof_size_t/" confdefs.h >conftest.val mv conftest.val confdefs.h fi fi -echo "$as_me:32680: checking for time_t" >&5 +echo "$as_me:32792: checking for time_t" >&5 echo $ECHO_N "checking for time_t... $ECHO_C" >&6 if test "${ac_cv_type_time_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 32686 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32798 "configure" #include "confdefs.h" $ac_includes_default int @@ -32697,30 +32809,30 @@ if (sizeof (time_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32701: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32813: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32704: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32707: \"$ac_try\"") >&5 + echo "$as_me:32816: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32819: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32710: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32822: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_time_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_time_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:32720: result: $ac_cv_type_time_t" >&5 +echo "$as_me:32832: result: $ac_cv_type_time_t" >&5 echo "${ECHO_T}$ac_cv_type_time_t" >&6 -echo "$as_me:32723: checking size of time_t" >&5 +echo "$as_me:32835: checking size of time_t" >&5 echo $ECHO_N "checking size of time_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_time_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -32728,8 +32840,8 @@ else if test "$ac_cv_type_time_t" = yes; then if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -#line 32732 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 32844 "configure" #include "confdefs.h" $ac_includes_default int @@ -32740,22 +32852,22 @@ int _array_ [1 - 2 * !((sizeof (time_t)) >= 0)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32744: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32856: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32747: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32750: \"$ac_try\"") >&5 + echo "$as_me:32859: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32862: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32753: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32865: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 32758 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32870 "configure" #include "confdefs.h" $ac_includes_default int @@ -32766,33 +32878,33 @@ int _array_ [1 - 2 * !((sizeof (time_t)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32770: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32882: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32773: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32776: \"$ac_try\"") >&5 + echo "$as_me:32885: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32888: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32779: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32891: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1`; ac_mid=`expr 2 '*' "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do - cat >conftest.$ac_ext <<_ACEOF -#line 32795 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32907 "configure" #include "confdefs.h" $ac_includes_default int @@ -32803,33 +32915,33 @@ int _array_ [1 - 2 * !((sizeof (time_t)) >= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32807: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32919: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32810: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32813: \"$ac_try\"") >&5 + echo "$as_me:32922: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32925: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32816: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32928: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` +cat "conftest.$ac_ext" >&5 +ac_hi=`expr "$ac_mid" - 1`; ac_mid=`expr 2 '*' "$ac_mid"` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -#line 32832 "configure" + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +#line 32944 "configure" #include "confdefs.h" $ac_includes_default int @@ -32840,35 +32952,35 @@ int _array_ [1 - 2 * !((sizeof (time_t)) <= $ac_mid)] return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32844: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:32956: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32847: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32850: \"$ac_try\"") >&5 + echo "$as_me:32959: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:32962: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32853: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:32965: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_hi=$ac_mid else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -ac_lo=`expr $ac_mid + 1` +cat "conftest.$ac_ext" >&5 +ac_lo=`expr "$ac_mid" + 1` fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done ac_cv_sizeof_time_t=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:32866: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:32978: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else - cat >conftest.$ac_ext <<_ACEOF -#line 32871 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 32983 "configure" #include "confdefs.h" $ac_includes_default int @@ -32883,24 +32995,24 @@ fclose (f); return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:32887: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:32999: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:32890: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:32892: \"$ac_try\"") >&5 + echo "$as_me:33002: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:33004: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32895: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33007: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_sizeof_time_t=`cat conftest.val` else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi rm -f conftest.val @@ -32908,7 +33020,7 @@ else ac_cv_sizeof_time_t=0 fi fi -echo "$as_me:32911: result: $ac_cv_sizeof_time_t" >&5 +echo "$as_me:33023: result: $ac_cv_sizeof_time_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_time_t" >&6 cat >>confdefs.h <<EOF #define SIZEOF_TIME_T $ac_cv_sizeof_time_t @@ -32917,11 +33029,11 @@ EOF if test "${ac_cv_type_time_t+set}" = set; then cf_cv_sizeof="$ac_cv_sizeof_time_t" if test "${ac_cv_sizeof_time_t+set}" != set; then - { echo "$as_me:32920: WARNING: using 4 for sizeof time_t" >&5 + { echo "$as_me:33032: WARNING: using 4 for sizeof time_t" >&5 echo "$as_me: WARNING: using 4 for sizeof time_t" >&2;} ac_cv_sizeof_time_t=4 elif test "x${ac_cv_sizeof_time_t}" = x0; then - { echo "$as_me:32924: WARNING: sizeof time_t not found, using 4" >&5 + { echo "$as_me:33036: WARNING: sizeof time_t not found, using 4" >&5 echo "$as_me: WARNING: sizeof time_t not found, using 4" >&2;} ac_cv_sizeof_time_t=4 fi @@ -32930,18 +33042,18 @@ echo "$as_me: WARNING: sizeof time_t not found, using 4" >&2;} cf_cv_type=`echo "sizeof_time_t" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` - sed -e "s/\([ ]$cf_cv_type[ ]\).*/\1$ac_cv_sizeof_time_t/" confdefs.h >conftest.val + sed -e "s/\\([ ]${cf_cv_type}[ ]\\).*/\\1$ac_cv_sizeof_time_t/" confdefs.h >conftest.val mv conftest.val confdefs.h fi fi -echo "$as_me:32938: checking for intptr_t" >&5 +echo "$as_me:33050: checking for intptr_t" >&5 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6 if test "${ac_cv_type_intptr_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 32944 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33056 "configure" #include "confdefs.h" $ac_includes_default int @@ -32955,29 +33067,29 @@ if (sizeof (intptr_t)) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:32959: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:33071: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:32962: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:32965: \"$ac_try\"") >&5 + echo "$as_me:33074: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:33077: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:32968: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33080: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_type_intptr_t=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_type_intptr_t=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:32978: result: $ac_cv_type_intptr_t" >&5 +echo "$as_me:33090: result: $ac_cv_type_intptr_t" >&5 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6 -if test $ac_cv_type_intptr_t = yes; then +if test "$ac_cv_type_intptr_t" = yes; then : else @@ -32989,13 +33101,13 @@ fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! -echo "$as_me:32992: checking for working alloca.h" >&5 +echo "$as_me:33104: checking for working alloca.h" >&5 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 if test "${ac_cv_working_alloca_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 32998 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33110 "configure" #include "confdefs.h" #include <alloca.h> int @@ -33006,27 +33118,27 @@ char *p = (char *) alloca (2 * sizeof (int)); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33010: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33122: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33013: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33016: \"$ac_try\"") >&5 + echo "$as_me:33125: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33128: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33019: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33131: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_working_alloca_h=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_working_alloca_h=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:33029: result: $ac_cv_working_alloca_h" >&5 +echo "$as_me:33141: result: $ac_cv_working_alloca_h" >&5 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 if test $ac_cv_working_alloca_h = yes; then @@ -33036,13 +33148,13 @@ EOF fi -echo "$as_me:33039: checking for alloca" >&5 +echo "$as_me:33151: checking for alloca" >&5 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 if test "${ac_cv_func_alloca_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 33045 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33157 "configure" #include "confdefs.h" #ifdef __GNUC__ # define alloca __builtin_alloca @@ -33073,27 +33185,27 @@ char *p = (char *) alloca (1); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33077: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33189: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33080: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33083: \"$ac_try\"") >&5 + echo "$as_me:33192: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33195: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33086: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33198: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_alloca_works=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_alloca_works=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:33096: result: $ac_cv_func_alloca_works" >&5 +echo "$as_me:33208: result: $ac_cv_func_alloca_works" >&5 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 if test $ac_cv_func_alloca_works = yes; then @@ -33108,19 +33220,19 @@ else # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. -ALLOCA=alloca.$ac_objext +ALLOCA="alloca.$ac_objext" cat >>confdefs.h <<\EOF #define C_ALLOCA 1 EOF -echo "$as_me:33117: checking whether \`alloca.c' needs Cray hooks" >&5 +echo "$as_me:33229: checking whether \`alloca.c' needs Cray hooks" >&5 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 if test "${ac_cv_os_cray+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 33123 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33235 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray @@ -33130,7 +33242,7 @@ wenotbecray _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "webecray" >/dev/null 2>&1; then + $EGREP "webecray" >/dev/null 2>&1; then ac_cv_os_cray=yes else ac_cv_os_cray=no @@ -33138,18 +33250,18 @@ fi rm -rf conftest* fi -echo "$as_me:33141: result: $ac_cv_os_cray" >&5 +echo "$as_me:33253: result: $ac_cv_os_cray" >&5 echo "${ECHO_T}$ac_cv_os_cray" >&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:33146: checking for $ac_func" >&5 +echo "$as_me:33258: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 33152 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33264 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -33179,29 +33291,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33183: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33295: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33186: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33189: \"$ac_try\"") >&5 + echo "$as_me:33298: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33301: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33192: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33304: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:33202: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:33314: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define CRAY_STACKSEG_END $ac_func @@ -33213,7 +33325,7 @@ fi done fi -echo "$as_me:33216: checking stack direction for C alloca" >&5 +echo "$as_me:33328: checking stack direction for C alloca" >&5 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 if test "${ac_cv_c_stack_direction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -33221,8 +33333,8 @@ else if test "$cross_compiling" = yes; then ac_cv_c_stack_direction=0 else - cat >conftest.$ac_ext <<_ACEOF -#line 33225 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33337 "configure" #include "confdefs.h" int find_stack_direction (void) @@ -33244,28 +33356,28 @@ main (void) $ac_main_return (find_stack_direction () < 0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:33248: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:33360: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33251: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:33253: \"$ac_try\"") >&5 + echo "$as_me:33363: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:33365: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33256: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33368: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_c_stack_direction=1 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_c_stack_direction=-1 fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:33268: result: $ac_cv_c_stack_direction" >&5 +echo "$as_me:33380: result: $ac_cv_c_stack_direction" >&5 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 cat >>confdefs.h <<EOF @@ -33277,24 +33389,24 @@ fi for ac_header in unistd.h vfork.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:33280: checking for $ac_header" >&5 +echo "$as_me:33392: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 33286 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33398 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:33290: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:33402: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:33296: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:33408: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -33307,14 +33419,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:33315: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:33427: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -33325,13 +33437,13 @@ done for ac_func in fork vfork do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:33328: checking for $ac_func" >&5 +echo "$as_me:33440: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 33334 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33446 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -33361,29 +33473,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33365: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33477: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33368: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33371: \"$ac_try\"") >&5 + echo "$as_me:33480: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33483: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33374: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33486: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:33384: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:33496: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -33393,7 +33505,7 @@ done ac_cv_func_fork_works=$ac_cv_func_fork if test "x$ac_cv_func_fork" = xyes; then - echo "$as_me:33396: checking for working fork" >&5 + echo "$as_me:33508: checking for working fork" >&5 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 if test "${ac_cv_func_fork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -33401,7 +33513,7 @@ else if test "$cross_compiling" = yes; then ac_cv_func_fork_works=cross else - cat >conftest.$ac_ext <<_ACEOF + cat >"conftest.$ac_ext" <<_ACEOF /* By Rüdiger Kuhlmann. */ #include <sys/types.h> #if HAVE_UNISTD_H @@ -33415,28 +33527,28 @@ else $ac_main_return (0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:33419: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:33531: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33422: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:33424: \"$ac_try\"") >&5 + echo "$as_me:33534: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:33536: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33427: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33539: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_fork_works=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_fork_works=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:33439: result: $ac_cv_func_fork_works" >&5 +echo "$as_me:33551: result: $ac_cv_func_fork_works" >&5 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 fi @@ -33450,12 +33562,12 @@ if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_fork_works=yes ;; esac - { echo "$as_me:33453: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 + { echo "$as_me:33565: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then - echo "$as_me:33458: checking for working vfork" >&5 + echo "$as_me:33570: checking for working vfork" >&5 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 if test "${ac_cv_func_vfork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -33463,8 +33575,8 @@ else if test "$cross_compiling" = yes; then ac_cv_func_vfork_works=cross else - cat >conftest.$ac_ext <<_ACEOF -#line 33467 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33579 "configure" #include "confdefs.h" /* Thanks to Paul Eggert for this test. */ #include <stdio.h> @@ -33560,34 +33672,34 @@ main (void) } } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:33564: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:33676: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33567: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:33569: \"$ac_try\"") >&5 + echo "$as_me:33679: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:33681: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33572: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33684: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_vfork_works=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_vfork_works=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:33584: result: $ac_cv_func_vfork_works" >&5 +echo "$as_me:33696: result: $ac_cv_func_vfork_works" >&5 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=ac_cv_func_vfork - { echo "$as_me:33590: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 + { echo "$as_me:33702: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} fi @@ -33612,14 +33724,14 @@ EOF fi -echo "$as_me:33615: checking if we should use fcntl or ioctl" >&5 +echo "$as_me:33727: checking if we should use fcntl or ioctl" >&5 echo $ECHO_N "checking if we should use fcntl or ioctl... $ECHO_C" >&6 if test "${cf_cv_fionbio+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 33622 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 33734 "configure" #include "confdefs.h" #include <sys/types.h> @@ -33635,25 +33747,25 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33639: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33751: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33642: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33645: \"$ac_try\"") >&5 + echo "$as_me:33754: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33757: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33648: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33760: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_fionbio=ioctl else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 33656 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 33768 "configure" #include "confdefs.h" #include <sys/types.h> @@ -33674,44 +33786,44 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33678: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33790: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33681: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33684: \"$ac_try\"") >&5 + echo "$as_me:33793: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33796: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33687: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33799: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_fionbio=fcntl else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_fionbio=unknown fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:33700: result: $cf_cv_fionbio" >&5 +echo "$as_me:33812: result: $cf_cv_fionbio" >&5 echo "${ECHO_T}$cf_cv_fionbio" >&6 test "$cf_cv_fionbio" = "fcntl" && cat >>confdefs.h <<\EOF #define USE_FCNTL 1 EOF -echo "$as_me:33707: checking for broken/missing definition of remove" >&5 +echo "$as_me:33819: checking for broken/missing definition of remove" >&5 echo $ECHO_N "checking for broken/missing definition of remove... $ECHO_C" >&6 if test "${cf_cv_baddef_remove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 33714 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 33826 "configure" #include "confdefs.h" #include <stdio.h> int @@ -33722,24 +33834,24 @@ remove("dummy") return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33726: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33838: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33729: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33732: \"$ac_try\"") >&5 + echo "$as_me:33841: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33844: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33735: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33847: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_baddef_remove=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 33742 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 33854 "configure" #include "confdefs.h" #include <stdio.h> int __unlink(name) { return unlink(name); } @@ -33751,46 +33863,46 @@ remove("dummy") return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33755: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33867: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33758: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33761: \"$ac_try\"") >&5 + echo "$as_me:33870: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33873: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33764: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33876: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_baddef_remove=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_baddef_remove=unknown fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:33779: result: $cf_cv_baddef_remove" >&5 +echo "$as_me:33891: result: $cf_cv_baddef_remove" >&5 echo "${ECHO_T}$cf_cv_baddef_remove" >&6 test "$cf_cv_baddef_remove" != no && cat >>confdefs.h <<\EOF #define NEED_REMOVE 1 EOF -echo "$as_me:33786: checking for lstat" >&5 +echo "$as_me:33898: checking for lstat" >&5 echo $ECHO_N "checking for lstat... $ECHO_C" >&6 if test "${ac_cv_func_lstat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 33793 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 33905 "configure" #include "confdefs.h" #include <sys/types.h> @@ -33803,31 +33915,31 @@ lstat(".", (struct stat *)0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33807: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33919: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33810: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33813: \"$ac_try\"") >&5 + echo "$as_me:33922: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33925: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33816: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33928: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_lstat=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_lstat=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:33828: result: $ac_cv_func_lstat " >&5 +echo "$as_me:33940: result: $ac_cv_func_lstat " >&5 echo "${ECHO_T}$ac_cv_func_lstat " >&6 -if test $ac_cv_func_lstat = yes; then +if test "$ac_cv_func_lstat" = yes; then cat >>confdefs.h <<\EOF #define HAVE_LSTAT 1 @@ -33835,13 +33947,13 @@ EOF fi -echo "$as_me:33838: checking for vasprintf" >&5 +echo "$as_me:33950: checking for vasprintf" >&5 echo $ECHO_N "checking for vasprintf... $ECHO_C" >&6 if test "${ac_cv_func_vasprintf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 33844 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 33956 "configure" #include "confdefs.h" #define vasprintf autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -33871,38 +33983,38 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:33875: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:33987: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:33878: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:33881: \"$ac_try\"") >&5 + echo "$as_me:33990: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:33993: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33884: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:33996: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_vasprintf=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_vasprintf=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:33894: result: $ac_cv_func_vasprintf" >&5 +echo "$as_me:34006: result: $ac_cv_func_vasprintf" >&5 echo "${ECHO_T}$ac_cv_func_vasprintf" >&6 -if test $ac_cv_func_vasprintf = yes; then +if test "$ac_cv_func_vasprintf" = yes; then cat >>confdefs.h <<\EOF #define HAVE_VASPRINTF 1 EOF - echo "$as_me:33902: checking if vasprintf requires workaround" >&5 + echo "$as_me:34014: checking if vasprintf requires workaround" >&5 echo $ECHO_N "checking if vasprintf requires workaround... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 33905 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34017 "configure" #include "confdefs.h" #include <stdio.h> @@ -33917,28 +34029,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:33921: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34033: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:33924: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:33927: \"$ac_try\"") >&5 + echo "$as_me:34036: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34039: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33930: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34042: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then - echo "$as_me:33933: result: no" >&5 + echo "$as_me:34045: result: no" >&5 echo "${ECHO_T}no" >&6 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 - cat >conftest.$ac_ext <<_ACEOF -#line 33941 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34053 "configure" #include "confdefs.h" #ifndef _GNU_SOURCE @@ -33956,20 +34068,20 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:33960: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34072: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:33963: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:33966: \"$ac_try\"") >&5 + echo "$as_me:34075: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34078: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:33969: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34081: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then - echo "$as_me:33972: result: yes" >&5 + echo "$as_me:34084: result: yes" >&5 echo "${ECHO_T}yes" >&6 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " @@ -33977,16 +34089,16 @@ echo "${ECHO_T}yes" >&6 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 - echo "$as_me:33982: result: unknown" >&5 + echo "$as_me:34094: result: unknown" >&5 echo "${ECHO_T}unknown" >&6 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi @@ -34014,13 +34126,13 @@ for ac_func in \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:34017: checking for $ac_func" >&5 +echo "$as_me:34129: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 34023 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34135 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -34050,29 +34162,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:34054: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:34166: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:34057: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:34060: \"$ac_try\"") >&5 + echo "$as_me:34169: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:34172: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34063: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34175: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:34073: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:34185: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -34087,13 +34199,13 @@ for ac_func in \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:34090: checking for $ac_func" >&5 +echo "$as_me:34202: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 34096 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34208 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -34123,29 +34235,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:34127: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:34239: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:34130: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:34133: \"$ac_try\"") >&5 + echo "$as_me:34242: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:34245: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34136: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34248: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:34146: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:34258: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -34155,7 +34267,7 @@ else fi done -echo "$as_me:34158: checking for random-integer functions" >&5 +echo "$as_me:34270: checking for random-integer functions" >&5 echo $ECHO_N "checking for random-integer functions... $ECHO_C" >&6 if test "${cf_cv_srand_func+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -34174,8 +34286,8 @@ do ;; esac -cat >conftest.$ac_ext <<_ACEOF -#line 34178 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 34290 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -34193,38 +34305,38 @@ long seed = 1; $cf_srand_func(seed); seed = $cf_rand_func() return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:34197: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:34309: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:34200: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:34203: \"$ac_try\"") >&5 + echo "$as_me:34312: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:34315: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34206: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34318: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_srand_func=$cf_func break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -echo "$as_me:34218: result: $cf_cv_srand_func" >&5 +echo "$as_me:34330: result: $cf_cv_srand_func" >&5 echo "${ECHO_T}$cf_cv_srand_func" >&6 if test "$cf_cv_srand_func" != unknown ; then - echo "$as_me:34221: checking for range of random-integers" >&5 + echo "$as_me:34333: checking for range of random-integers" >&5 echo $ECHO_N "checking for range of random-integers... $ECHO_C" >&6 if test "${cf_cv_rand_max+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $cf_cv_srand_func in + case "$cf_cv_srand_func" in (srand/rand) cf_cv_rand_max=RAND_MAX cf_rand_max=16 @@ -34238,8 +34350,8 @@ else cf_rand_max=31 ;; esac - cat >conftest.$ac_ext <<_ACEOF -#line 34242 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34354 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -34257,36 +34369,36 @@ long x = $cf_cv_rand_max; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34261: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34373: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34264: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34267: \"$ac_try\"") >&5 + echo "$as_me:34376: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34379: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34270: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34382: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_rand_max="(1UL<<$cf_rand_max)-1" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:34281: result: $cf_cv_rand_max" >&5 +echo "$as_me:34393: result: $cf_cv_rand_max" >&5 echo "${ECHO_T}$cf_cv_rand_max" >&6 - case $cf_cv_srand_func in + case "$cf_cv_srand_func" in (*/arc4random) - echo "$as_me:34286: checking if <bsd/stdlib.h> should be included" >&5 + echo "$as_me:34398: checking if <bsd/stdlib.h> should be included" >&5 echo $ECHO_N "checking if <bsd/stdlib.h> should be included... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 34289 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34401 "configure" #include "confdefs.h" #include <bsd/stdlib.h> int @@ -34298,24 +34410,24 @@ void *arc4random(int); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34302: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34414: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34305: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34308: \"$ac_try\"") >&5 + echo "$as_me:34417: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34420: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34311: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34423: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_bsd_stdlib_h=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 34318 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 34430 "configure" #include "confdefs.h" #include <bsd/stdlib.h> int @@ -34326,28 +34438,28 @@ unsigned x = arc4random(); (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34330: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34442: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34333: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34336: \"$ac_try\"") >&5 + echo "$as_me:34445: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34448: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34339: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34451: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_bsd_stdlib_h=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_bsd_stdlib_h=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:34350: result: $cf_bsd_stdlib_h" >&5 +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + echo "$as_me:34462: result: $cf_bsd_stdlib_h" >&5 echo "${ECHO_T}$cf_bsd_stdlib_h" >&6 if test "$cf_bsd_stdlib_h" = yes then @@ -34357,10 +34469,10 @@ cat >>confdefs.h <<\EOF EOF else - echo "$as_me:34360: checking if <bsd/random.h> should be included" >&5 + echo "$as_me:34472: checking if <bsd/random.h> should be included" >&5 echo $ECHO_N "checking if <bsd/random.h> should be included... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 34363 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34475 "configure" #include "confdefs.h" #include <bsd/random.h> int @@ -34372,24 +34484,24 @@ void *arc4random(int); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34376: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34488: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34379: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34382: \"$ac_try\"") >&5 + echo "$as_me:34491: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34494: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34385: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34497: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_bsd_random_h=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 34392 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 34504 "configure" #include "confdefs.h" #include <bsd/random.h> int @@ -34400,28 +34512,28 @@ unsigned x = arc4random(); (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34404: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34516: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34407: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34410: \"$ac_try\"") >&5 + echo "$as_me:34519: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34522: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34413: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34525: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_bsd_random_h=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_bsd_random_h=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:34424: result: $cf_bsd_random_h" >&5 +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + echo "$as_me:34536: result: $cf_bsd_random_h" >&5 echo "${ECHO_T}$cf_bsd_random_h" >&6 if test "$cf_bsd_random_h" = yes then @@ -34431,7 +34543,7 @@ cat >>confdefs.h <<\EOF EOF else - { echo "$as_me:34434: WARNING: no header file found for arc4random" >&5 + { echo "$as_me:34546: WARNING: no header file found for arc4random" >&5 echo "$as_me: WARNING: no header file found for arc4random" >&2;} fi fi @@ -34466,13 +34578,13 @@ fi for ac_func in sleep do -echo "$as_me:34469: checking for $ac_func declaration" >&5 +echo "$as_me:34581: checking for $ac_func declaration" >&5 echo $ECHO_N "checking for $ac_func declaration... $ECHO_C" >&6 if eval "test \"\${ac_cv_func_decl_$ac_func+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 34475 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34587 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -34492,21 +34604,21 @@ extern int $ac_func(); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34496: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34608: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34499: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34502: \"$ac_try\"") >&5 + echo "$as_me:34611: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34614: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34505: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34617: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then -cat >conftest.$ac_ext <<_ACEOF -#line 34509 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 34621 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -34526,42 +34638,42 @@ int (*p)() = $ac_func; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34530: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34642: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34533: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34536: \"$ac_try\"") >&5 + echo "$as_me:34645: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34648: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34539: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34651: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "ac_cv_func_decl_$ac_func=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "ac_cv_func_decl_$ac_func=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "ac_cv_func_decl_$ac_func=yes" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi if eval "test \"`echo '$ac_cv_func_'decl_$ac_func`\" = yes"; then - echo "$as_me:34560: result: yes" >&5 + echo "$as_me:34672: result: yes" >&5 echo "${ECHO_T}yes" >&6 : else - echo "$as_me:34564: result: no" >&5 + echo "$as_me:34676: result: no" >&5 echo "${ECHO_T}no" >&6 ac_tr_func=`echo "DECL_$ac_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -34576,13 +34688,13 @@ done for ac_func in strstr do -echo "$as_me:34579: checking for $ac_func declaration" >&5 +echo "$as_me:34691: checking for $ac_func declaration" >&5 echo $ECHO_N "checking for $ac_func declaration... $ECHO_C" >&6 if eval "test \"\${ac_cv_func_decl_$ac_func+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 34585 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34697 "configure" #include "confdefs.h" #include <string.h> int @@ -34595,21 +34707,21 @@ extern int $ac_func(); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34599: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34711: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34602: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34605: \"$ac_try\"") >&5 + echo "$as_me:34714: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34717: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34608: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34720: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then -cat >conftest.$ac_ext <<_ACEOF -#line 34612 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 34724 "configure" #include "confdefs.h" #include <string.h> int @@ -34622,42 +34734,42 @@ int (*p)() = $ac_func; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34626: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34738: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34629: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34632: \"$ac_try\"") >&5 + echo "$as_me:34741: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34744: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34635: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34747: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "ac_cv_func_decl_$ac_func=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "ac_cv_func_decl_$ac_func=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "ac_cv_func_decl_$ac_func=yes" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi if eval "test \"`echo '$ac_cv_func_'decl_$ac_func`\" = yes"; then - echo "$as_me:34656: result: yes" >&5 + echo "$as_me:34768: result: yes" >&5 echo "${ECHO_T}yes" >&6 : else - echo "$as_me:34660: result: no" >&5 + echo "$as_me:34772: result: no" >&5 echo "${ECHO_T}no" >&6 ac_tr_func=`echo "DECL_$ac_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -34672,13 +34784,13 @@ done for ac_func in getgrgid getgrnam do -echo "$as_me:34675: checking for $ac_func declaration" >&5 +echo "$as_me:34787: checking for $ac_func declaration" >&5 echo $ECHO_N "checking for $ac_func declaration... $ECHO_C" >&6 if eval "test \"\${ac_cv_func_decl_$ac_func+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 34681 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34793 "configure" #include "confdefs.h" #include <stdio.h> @@ -34693,21 +34805,21 @@ extern int $ac_func(); return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34697: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34809: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34700: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34703: \"$ac_try\"") >&5 + echo "$as_me:34812: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34815: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34706: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34818: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then -cat >conftest.$ac_ext <<_ACEOF -#line 34710 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 34822 "configure" #include "confdefs.h" #include <stdio.h> @@ -34722,42 +34834,42 @@ int (*p)() = $ac_func; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34726: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34838: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34729: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34732: \"$ac_try\"") >&5 + echo "$as_me:34841: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34844: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34735: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34847: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "ac_cv_func_decl_$ac_func=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "ac_cv_func_decl_$ac_func=no" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "ac_cv_func_decl_$ac_func=yes" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi if eval "test \"`echo '$ac_cv_func_'decl_$ac_func`\" = yes"; then - echo "$as_me:34756: result: yes" >&5 + echo "$as_me:34868: result: yes" >&5 echo "${ECHO_T}yes" >&6 : else - echo "$as_me:34760: result: no" >&5 + echo "$as_me:34872: result: no" >&5 echo "${ECHO_T}no" >&6 ac_tr_func=`echo "DECL_$ac_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` @@ -34769,14 +34881,14 @@ EOF fi done -echo "$as_me:34772: checking if TRUE/FALSE are defined" >&5 +echo "$as_me:34884: checking if TRUE/FALSE are defined" >&5 echo $ECHO_N "checking if TRUE/FALSE are defined... $ECHO_C" >&6 if test "${cf_cv_bool_defs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 34779 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 34891 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -34789,28 +34901,28 @@ int x = TRUE, y = FALSE return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34793: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34905: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34796: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34799: \"$ac_try\"") >&5 + echo "$as_me:34908: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34911: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34802: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34914: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_bool_defs=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_bool_defs=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:34813: result: $cf_cv_bool_defs" >&5 +echo "$as_me:34925: result: $cf_cv_bool_defs" >&5 echo "${ECHO_T}$cf_cv_bool_defs" >&6 if test "$cf_cv_bool_defs" = no ; then @@ -34824,14 +34936,14 @@ EOF fi -echo "$as_me:34827: checking if external errno is declared" >&5 +echo "$as_me:34939: checking if external errno is declared" >&5 echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6 if test "${cf_cv_dcl_errno+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 34834 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 34946 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -34848,28 +34960,28 @@ int x = (int) errno; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:34852: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:34964: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:34855: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:34858: \"$ac_try\"") >&5 + echo "$as_me:34967: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:34970: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34861: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:34973: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_dcl_errno=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_dcl_errno=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:34872: result: $cf_cv_dcl_errno" >&5 +echo "$as_me:34984: result: $cf_cv_dcl_errno" >&5 echo "${ECHO_T}$cf_cv_dcl_errno" >&6 if test "$cf_cv_dcl_errno" = no ; then @@ -34884,14 +34996,14 @@ fi # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:34887: checking if external errno exists" >&5 +echo "$as_me:34999: checking if external errno exists" >&5 echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6 if test "${cf_cv_have_errno+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 34894 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35006 "configure" #include "confdefs.h" #undef errno @@ -34905,28 +35017,28 @@ errno = 2 return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:34909: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:35021: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:34912: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:34915: \"$ac_try\"") >&5 + echo "$as_me:35024: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:35027: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34918: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35030: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_errno=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_errno=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:34929: result: $cf_cv_have_errno" >&5 +echo "$as_me:35041: result: $cf_cv_have_errno" >&5 echo "${ECHO_T}$cf_cv_have_errno" >&6 if test "$cf_cv_have_errno" = yes ; then @@ -34939,15 +35051,15 @@ EOF fi -echo "$as_me:34942: checking if we can set errno" >&5 +echo "$as_me:35054: checking if we can set errno" >&5 echo $ECHO_N "checking if we can set errno... $ECHO_C" >&6 if test "${cf_cv_set_errno+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then - cat >conftest.$ac_ext <<_ACEOF -#line 34950 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35062 "configure" #include "confdefs.h" #include <errno.h> int @@ -34958,28 +35070,28 @@ errno = 255 return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:34962: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:35074: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:34965: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:34968: \"$ac_try\"") >&5 + echo "$as_me:35077: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:35080: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:34971: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35083: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_set_errno=maybe else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_set_errno=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" else - cat >conftest.$ac_ext <<_ACEOF -#line 34982 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35094 "configure" #include "confdefs.h" #include <errno.h> @@ -34989,43 +35101,43 @@ int main(void) ${cf_cv_main_return:-return}(errno != 255); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:34993: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:35105: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:34996: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:34998: \"$ac_try\"") >&5 + echo "$as_me:35108: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:35110: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35001: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35113: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_set_errno=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_set_errno=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:35014: result: $cf_cv_set_errno" >&5 +echo "$as_me:35126: result: $cf_cv_set_errno" >&5 echo "${ECHO_T}$cf_cv_set_errno" >&6 test "$cf_cv_set_errno" != no && cat >>confdefs.h <<\EOF #define CAN_SET_ERRNO 1 EOF -echo "$as_me:35021: checking for setlocale()" >&5 +echo "$as_me:35133: checking for setlocale()" >&5 echo $ECHO_N "checking for setlocale()... $ECHO_C" >&6 if test "${cf_cv_locale+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 35028 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 35140 "configure" #include "confdefs.h" #include <locale.h> int @@ -35036,44 +35148,44 @@ setlocale(LC_ALL, "") return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:35040: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:35152: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:35043: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:35046: \"$ac_try\"") >&5 + echo "$as_me:35155: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:35158: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35049: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35161: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_locale=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_locale=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:35061: result: $cf_cv_locale" >&5 +echo "$as_me:35173: result: $cf_cv_locale" >&5 echo "${ECHO_T}$cf_cv_locale" >&6 -test $cf_cv_locale = yes && { +test "$cf_cv_locale" = yes && { cat >>confdefs.h <<\EOF #define LOCALE 1 EOF } -echo "$as_me:35069: checking if NGROUPS is defined" >&5 +echo "$as_me:35181: checking if NGROUPS is defined" >&5 echo $ECHO_N "checking if NGROUPS is defined... $ECHO_C" >&6 if test "${cf_cv_ngroups+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 35076 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 35188 "configure" #include "confdefs.h" #if HAVE_SYS_PARAM_H @@ -35091,24 +35203,24 @@ int x = NGROUPS return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35095: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35207: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35098: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35101: \"$ac_try\"") >&5 + echo "$as_me:35210: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35213: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35104: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35216: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ngroups=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 35111 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 35223 "configure" #include "confdefs.h" #if HAVE_SYS_PARAM_H @@ -35126,29 +35238,29 @@ int x = NGROUPS_MAX return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35130: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35242: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35133: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35136: \"$ac_try\"") >&5 + echo "$as_me:35245: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35248: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35139: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35251: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ngroups=NGROUPS_MAX else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_ngroups=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:35151: result: $cf_cv_ngroups" >&5 +rm -f "conftest.$ac_objext" "conftest.$ac_ext" +echo "$as_me:35263: result: $cf_cv_ngroups" >&5 echo "${ECHO_T}$cf_cv_ngroups" >&6 fi @@ -35166,14 +35278,14 @@ EOF fi -echo "$as_me:35169: checking if external sys_nerr is declared" >&5 +echo "$as_me:35281: checking if external sys_nerr is declared" >&5 echo $ECHO_N "checking if external sys_nerr is declared... $ECHO_C" >&6 if test "${cf_cv_dcl_sys_nerr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35176 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35288 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -35190,28 +35302,28 @@ int x = (int) sys_nerr; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35194: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35306: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35197: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35200: \"$ac_try\"") >&5 + echo "$as_me:35309: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35312: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35203: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35315: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_dcl_sys_nerr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_dcl_sys_nerr=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:35214: result: $cf_cv_dcl_sys_nerr" >&5 +echo "$as_me:35326: result: $cf_cv_dcl_sys_nerr" >&5 echo "${ECHO_T}$cf_cv_dcl_sys_nerr" >&6 if test "$cf_cv_dcl_sys_nerr" = no ; then @@ -35226,14 +35338,14 @@ fi # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:35229: checking if external sys_nerr exists" >&5 +echo "$as_me:35341: checking if external sys_nerr exists" >&5 echo $ECHO_N "checking if external sys_nerr exists... $ECHO_C" >&6 if test "${cf_cv_have_sys_nerr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35236 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35348 "configure" #include "confdefs.h" #undef sys_nerr @@ -35247,28 +35359,28 @@ sys_nerr = 2 return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:35251: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:35363: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:35254: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:35257: \"$ac_try\"") >&5 + echo "$as_me:35366: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:35369: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35260: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35372: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_sys_nerr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_sys_nerr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:35271: result: $cf_cv_have_sys_nerr" >&5 +echo "$as_me:35383: result: $cf_cv_have_sys_nerr" >&5 echo "${ECHO_T}$cf_cv_have_sys_nerr" >&6 if test "$cf_cv_have_sys_nerr" = yes ; then @@ -35281,14 +35393,14 @@ EOF fi -echo "$as_me:35284: checking if external sys_errlist is declared" >&5 +echo "$as_me:35396: checking if external sys_errlist is declared" >&5 echo $ECHO_N "checking if external sys_errlist is declared... $ECHO_C" >&6 if test "${cf_cv_dcl_sys_errlist+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35291 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35403 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H @@ -35305,28 +35417,28 @@ int x = (int) sys_errlist; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35309: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35421: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35312: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35315: \"$ac_try\"") >&5 + echo "$as_me:35424: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35427: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35318: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35430: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_dcl_sys_errlist=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_dcl_sys_errlist=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:35329: result: $cf_cv_dcl_sys_errlist" >&5 +echo "$as_me:35441: result: $cf_cv_dcl_sys_errlist" >&5 echo "${ECHO_T}$cf_cv_dcl_sys_errlist" >&6 if test "$cf_cv_dcl_sys_errlist" = no ; then @@ -35341,14 +35453,14 @@ fi # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:35344: checking if external sys_errlist exists" >&5 +echo "$as_me:35456: checking if external sys_errlist exists" >&5 echo $ECHO_N "checking if external sys_errlist exists... $ECHO_C" >&6 if test "${cf_cv_have_sys_errlist+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35351 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35463 "configure" #include "confdefs.h" #undef sys_errlist @@ -35362,28 +35474,28 @@ sys_errlist = 2 return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:35366: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:35478: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:35369: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:35372: \"$ac_try\"") >&5 + echo "$as_me:35481: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:35484: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35375: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35487: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_sys_errlist=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_sys_errlist=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:35386: result: $cf_cv_have_sys_errlist" >&5 +echo "$as_me:35498: result: $cf_cv_have_sys_errlist" >&5 echo "${ECHO_T}$cf_cv_have_sys_errlist" >&6 if test "$cf_cv_have_sys_errlist" = yes ; then @@ -35399,24 +35511,24 @@ fi for ac_header in lastlog.h paths.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:35402: checking for $ac_header" >&5 +echo "$as_me:35514: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35408 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35520 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:35412: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:35524: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:35418: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:35530: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -35429,14 +35541,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:35437: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:35549: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -35444,14 +35556,14 @@ EOF fi done -echo "$as_me:35447: checking for lastlog path" >&5 +echo "$as_me:35559: checking for lastlog path" >&5 echo $ECHO_N "checking for lastlog path... $ECHO_C" >&6 if test "${cf_cv_path_lastlog+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 35454 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 35566 "configure" #include "confdefs.h" #include <sys/types.h> @@ -35470,39 +35582,39 @@ char *path = _PATH_LASTLOG; (void)path return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35474: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35586: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35477: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35480: \"$ac_try\"") >&5 + echo "$as_me:35589: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35592: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35483: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35595: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_path_lastlog="_PATH_LASTLOG" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 if test -f /usr/adm/lastlog ; then cf_cv_path_lastlog=/usr/adm/lastlog else cf_cv_path_lastlog=no fi fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:35498: result: $cf_cv_path_lastlog" >&5 +echo "$as_me:35610: result: $cf_cv_path_lastlog" >&5 echo "${ECHO_T}$cf_cv_path_lastlog" >&6 -test $cf_cv_path_lastlog != no && +test "$cf_cv_path_lastlog" != no && cat >>confdefs.h <<\EOF #define USE_LASTLOG 1 EOF -echo "$as_me:35505: checking for utmp implementation" >&5 +echo "$as_me:35617: checking for utmp implementation" >&5 echo $ECHO_N "checking for utmp implementation... $ECHO_C" >&6 if test "${cf_cv_have_utmp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -35518,8 +35630,8 @@ cf_utmp_includes=" #include <lastlog.h> /* may conflict with utmpx.h on Linux */ #endif " - cat >conftest.$ac_ext <<_ACEOF -#line 35522 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35634 "configure" #include "confdefs.h" $cf_utmp_includes int @@ -35534,26 +35646,26 @@ struct $cf_header x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35538: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35650: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35541: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35544: \"$ac_try\"") >&5 + echo "$as_me:35653: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35656: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35547: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35659: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp=$cf_header break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 - cat >conftest.$ac_ext <<_ACEOF -#line 35556 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35668 "configure" #include "confdefs.h" $cf_utmp_includes int @@ -35568,54 +35680,54 @@ struct $cf_header x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35572: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35684: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35575: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35578: \"$ac_try\"") >&5 + echo "$as_me:35687: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35690: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35581: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35693: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp=$cf_header break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:35596: result: $cf_cv_have_utmp" >&5 +echo "$as_me:35708: result: $cf_cv_have_utmp" >&5 echo "${ECHO_T}$cf_cv_have_utmp" >&6 -if test $cf_cv_have_utmp != no ; then +if test "$cf_cv_have_utmp" != no ; then cat >>confdefs.h <<\EOF #define HAVE_UTMP 1 EOF - test $cf_cv_have_utmp = utmpx && + test "$cf_cv_have_utmp" = utmpx && cat >>confdefs.h <<\EOF #define UTMPX_FOR_UTMP 1 EOF -if test $cf_cv_have_utmp != no ; then -echo "$as_me:35611: checking if ${cf_cv_have_utmp}.ut_host is declared" >&5 +if test "$cf_cv_have_utmp" != no ; then +echo "$as_me:35723: checking if ${cf_cv_have_utmp}.ut_host is declared" >&5 echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_host is declared... $ECHO_C" >&6 if test "${cf_cv_have_utmp_ut_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35618 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35730 "configure" #include "confdefs.h" #include <sys/types.h> @@ -35631,46 +35743,46 @@ struct $cf_cv_have_utmp x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35635: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35747: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35638: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35641: \"$ac_try\"") >&5 + echo "$as_me:35750: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35753: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35644: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35756: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp_ut_host=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_utmp_ut_host=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:35656: result: $cf_cv_have_utmp_ut_host" >&5 +echo "$as_me:35768: result: $cf_cv_have_utmp_ut_host" >&5 echo "${ECHO_T}$cf_cv_have_utmp_ut_host" >&6 -test $cf_cv_have_utmp_ut_host != no && +test "$cf_cv_have_utmp_ut_host" != no && cat >>confdefs.h <<\EOF #define HAVE_UTMP_UT_HOST 1 EOF fi -if test $cf_cv_have_utmp != no ; then -echo "$as_me:35666: checking if ${cf_cv_have_utmp}.ut_syslen is declared" >&5 +if test "$cf_cv_have_utmp" != no ; then +echo "$as_me:35778: checking if ${cf_cv_have_utmp}.ut_syslen is declared" >&5 echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_syslen is declared... $ECHO_C" >&6 if test "${cf_cv_have_utmp_ut_syslen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35673 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35785 "configure" #include "confdefs.h" #include <sys/types.h> @@ -35686,39 +35798,39 @@ struct $cf_cv_have_utmp x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35690: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35802: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35693: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35696: \"$ac_try\"") >&5 + echo "$as_me:35805: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35808: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35699: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35811: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp_ut_syslen=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_utmp_ut_syslen=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:35711: result: $cf_cv_have_utmp_ut_syslen" >&5 +echo "$as_me:35823: result: $cf_cv_have_utmp_ut_syslen" >&5 echo "${ECHO_T}$cf_cv_have_utmp_ut_syslen" >&6 -test $cf_cv_have_utmp_ut_syslen != no && +test "$cf_cv_have_utmp_ut_syslen" != no && cat >>confdefs.h <<\EOF #define HAVE_UTMP_UT_SYSLEN 1 EOF fi -if test $cf_cv_have_utmp != no ; then -echo "$as_me:35721: checking if ${cf_cv_have_utmp}.ut_name is declared" >&5 +if test "$cf_cv_have_utmp" != no ; then +echo "$as_me:35833: checking if ${cf_cv_have_utmp}.ut_name is declared" >&5 echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_name is declared... $ECHO_C" >&6 if test "${cf_cv_have_utmp_ut_name+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -35734,8 +35846,8 @@ cf_utmp_includes=" #endif " for cf_header in ut_name ut_user ; do - cat >conftest.$ac_ext <<_ACEOF -#line 35738 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35850 "configure" #include "confdefs.h" $cf_utmp_includes int @@ -35750,34 +35862,34 @@ struct $cf_cv_have_utmp x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35754: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35866: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35757: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35760: \"$ac_try\"") >&5 + echo "$as_me:35869: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35872: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35763: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35875: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp_ut_name=$cf_header break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:35775: result: $cf_cv_have_utmp_ut_name" >&5 +echo "$as_me:35887: result: $cf_cv_have_utmp_ut_name" >&5 echo "${ECHO_T}$cf_cv_have_utmp_ut_name" >&6 -case $cf_cv_have_utmp_ut_name in +case "$cf_cv_have_utmp_ut_name" in (no) - { { echo "$as_me:35780: error: Cannot find declaration for ut.ut_name" >&5 + { { echo "$as_me:35892: error: Cannot find declaration for ut.ut_name" >&5 echo "$as_me: error: Cannot find declaration for ut.ut_name" >&2;} { (exit 1); exit 1; }; } ;; @@ -35791,8 +35903,8 @@ EOF esac fi -if test $cf_cv_have_utmp != no ; then -echo "$as_me:35795: checking for exit-status in $cf_cv_have_utmp" >&5 +if test "$cf_cv_have_utmp" != no ; then +echo "$as_me:35907: checking for exit-status in $cf_cv_have_utmp" >&5 echo $ECHO_N "checking for exit-status in $cf_cv_have_utmp... $ECHO_C" >&6 if test "${cf_cv_have_utmp_ut_xstatus+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -35804,8 +35916,8 @@ for cf_result in \ ut_exit.ut_e_exit \ ut_exit.ut_exit do -cat >conftest.$ac_ext <<_ACEOF -#line 35808 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 35920 "configure" #include "confdefs.h" #include <sys/types.h> @@ -35821,32 +35933,32 @@ struct $cf_cv_have_utmp x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35825: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35937: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35828: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35831: \"$ac_try\"") >&5 + echo "$as_me:35940: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:35943: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35834: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:35946: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp_ut_xstatus=$cf_result break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_utmp_ut_xstatus=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:35847: result: $cf_cv_have_utmp_ut_xstatus" >&5 +echo "$as_me:35959: result: $cf_cv_have_utmp_ut_xstatus" >&5 echo "${ECHO_T}$cf_cv_have_utmp_ut_xstatus" >&6 -if test $cf_cv_have_utmp_ut_xstatus != no ; then +if test "$cf_cv_have_utmp_ut_xstatus" != no ; then cat >>confdefs.h <<\EOF #define HAVE_UTMP_UT_XSTATUS 1 @@ -35859,15 +35971,15 @@ EOF fi fi -if test $cf_cv_have_utmp != no ; then -echo "$as_me:35863: checking if ${cf_cv_have_utmp}.ut_xtime is declared" >&5 +if test "$cf_cv_have_utmp" != no ; then +echo "$as_me:35975: checking if ${cf_cv_have_utmp}.ut_xtime is declared" >&5 echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_xtime is declared... $ECHO_C" >&6 if test "${cf_cv_have_utmp_ut_xtime+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35870 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 35982 "configure" #include "confdefs.h" #include <sys/types.h> @@ -35883,24 +35995,24 @@ struct $cf_cv_have_utmp x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35887: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:35999: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35890: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35893: \"$ac_try\"") >&5 + echo "$as_me:36002: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:36005: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35896: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36008: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp_ut_xtime=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 35903 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 36015 "configure" #include "confdefs.h" #include <sys/types.h> @@ -35916,39 +36028,39 @@ struct $cf_cv_have_utmp x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35920: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:36032: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35923: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35926: \"$ac_try\"") >&5 + echo "$as_me:36035: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:36038: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35929: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36041: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp_ut_xtime=define else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_utmp_ut_xtime=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:35943: result: $cf_cv_have_utmp_ut_xtime" >&5 +echo "$as_me:36055: result: $cf_cv_have_utmp_ut_xtime" >&5 echo "${ECHO_T}$cf_cv_have_utmp_ut_xtime" >&6 -if test $cf_cv_have_utmp_ut_xtime != no ; then +if test "$cf_cv_have_utmp_ut_xtime" != no ; then cat >>confdefs.h <<\EOF #define HAVE_UTMP_UT_XTIME 1 EOF - if test $cf_cv_have_utmp_ut_xtime = define ; then + if test "$cf_cv_have_utmp_ut_xtime" = define ; then cat >>confdefs.h <<\EOF #define ut_xtime ut_tv.tv_sec @@ -35958,15 +36070,15 @@ EOF fi fi -if test $cf_cv_have_utmp != no ; then -echo "$as_me:35962: checking if ${cf_cv_have_utmp}.ut_session is declared" >&5 +if test "$cf_cv_have_utmp" != no ; then +echo "$as_me:36074: checking if ${cf_cv_have_utmp}.ut_session is declared" >&5 echo $ECHO_N "checking if ${cf_cv_have_utmp}.ut_session is declared... $ECHO_C" >&6 if test "${cf_cv_have_utmp_ut_session+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 35969 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 36081 "configure" #include "confdefs.h" #include <sys/types.h> @@ -35982,30 +36094,30 @@ struct $cf_cv_have_utmp x; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:35986: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:36098: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:35989: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:35992: \"$ac_try\"") >&5 + echo "$as_me:36101: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:36104: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:35995: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36107: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_utmp_ut_session=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_utmp_ut_session=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:36006: result: $cf_cv_have_utmp_ut_session" >&5 +echo "$as_me:36118: result: $cf_cv_have_utmp_ut_session" >&5 echo "${ECHO_T}$cf_cv_have_utmp_ut_session" >&6 -if test $cf_cv_have_utmp_ut_session != no ; then +if test "$cf_cv_have_utmp_ut_session" != no ; then cat >>confdefs.h <<\EOF #define HAVE_UTMP_UT_SESSION 1 @@ -36014,15 +36126,15 @@ EOF fi fi -echo "$as_me:36017: checking if $cf_cv_have_utmp is SYSV flavor" >&5 +echo "$as_me:36129: checking if $cf_cv_have_utmp is SYSV flavor" >&5 echo $ECHO_N "checking if $cf_cv_have_utmp is SYSV flavor... $ECHO_C" >&6 if test "${cf_cv_sysv_utmp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else test "$cf_cv_have_utmp" = "utmp" && cf_prefix="ut" || cf_prefix="utx" -cat >conftest.$ac_ext <<_ACEOF -#line 36025 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 36137 "configure" #include "confdefs.h" #include <sys/types.h> @@ -36040,44 +36152,44 @@ struct $cf_cv_have_utmp x; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:36044: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:36156: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:36047: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:36050: \"$ac_try\"") >&5 + echo "$as_me:36159: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:36162: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:36053: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36165: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_sysv_utmp=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_sysv_utmp=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:36064: result: $cf_cv_sysv_utmp" >&5 +echo "$as_me:36176: result: $cf_cv_sysv_utmp" >&5 echo "${ECHO_T}$cf_cv_sysv_utmp" >&6 -test $cf_cv_sysv_utmp = yes && +test "$cf_cv_sysv_utmp" = yes && cat >>confdefs.h <<\EOF #define USE_SYSV_UTMP 1 EOF fi -echo "$as_me:36073: checking if external h_errno exists" >&5 +echo "$as_me:36185: checking if external h_errno exists" >&5 echo $ECHO_N "checking if external h_errno exists... $ECHO_C" >&6 if test "${cf_cv_have_h_errno+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 36080 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 36192 "configure" #include "confdefs.h" #undef h_errno @@ -36091,28 +36203,28 @@ h_errno = 2 return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:36095: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:36207: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:36098: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:36101: \"$ac_try\"") >&5 + echo "$as_me:36210: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:36213: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:36104: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36216: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_h_errno=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_h_errno=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:36115: result: $cf_cv_have_h_errno" >&5 +echo "$as_me:36227: result: $cf_cv_have_h_errno" >&5 echo "${ECHO_T}$cf_cv_have_h_errno" >&6 if test "$cf_cv_have_h_errno" = yes ; then @@ -36125,7 +36237,7 @@ EOF fi -echo "$as_me:36128: checking if bibp: URLs should be supported" >&5 +echo "$as_me:36240: checking if bibp: URLs should be supported" >&5 echo $ECHO_N "checking if bibp: URLs should be supported... $ECHO_C" >&6 # Check whether --enable-bibp-urls or --disable-bibp-urls was given. @@ -36142,14 +36254,14 @@ else use_bibp_urls=yes fi; -echo "$as_me:36145: result: $use_bibp_urls" >&5 +echo "$as_me:36257: result: $use_bibp_urls" >&5 echo "${ECHO_T}$use_bibp_urls" >&6 -test $use_bibp_urls = no && +test "$use_bibp_urls" = no && cat >>confdefs.h <<\EOF #define DISABLE_BIBP 1 EOF -echo "$as_me:36152: checking if configuration info should be browsable" >&5 +echo "$as_me:36264: checking if configuration info should be browsable" >&5 echo $ECHO_N "checking if configuration info should be browsable... $ECHO_C" >&6 # Check whether --enable-config-info or --disable-config-info was given. @@ -36166,14 +36278,14 @@ else use_config_info=yes fi; -echo "$as_me:36169: result: $use_config_info" >&5 +echo "$as_me:36281: result: $use_config_info" >&5 echo "${ECHO_T}$use_config_info" >&6 -test $use_config_info = no && +test "$use_config_info" = no && cat >>confdefs.h <<\EOF #define NO_CONFIG_INFO 1 EOF -echo "$as_me:36176: checking if new-style forms-based options screen should be used" >&5 +echo "$as_me:36288: checking if new-style forms-based options screen should be used" >&5 echo $ECHO_N "checking if new-style forms-based options screen should be used... $ECHO_C" >&6 # Check whether --enable-forms-options or --disable-forms-options was given. @@ -36190,14 +36302,14 @@ else use_forms_options=yes fi; -echo "$as_me:36193: result: $use_forms_options" >&5 +echo "$as_me:36305: result: $use_forms_options" >&5 echo "${ECHO_T}$use_forms_options" >&6 -test $use_forms_options = no && +test "$use_forms_options" = no && cat >>confdefs.h <<\EOF #define NO_OPTION_FORMS 1 EOF -echo "$as_me:36200: checking if old-style options menu should be used" >&5 +echo "$as_me:36312: checking if old-style options menu should be used" >&5 echo $ECHO_N "checking if old-style options menu should be used... $ECHO_C" >&6 # Check whether --enable-menu-options or --disable-menu-options was given. @@ -36214,14 +36326,14 @@ else use_menu_options=yes fi; -echo "$as_me:36217: result: $use_menu_options" >&5 +echo "$as_me:36329: result: $use_menu_options" >&5 echo "${ECHO_T}$use_menu_options" >&6 -test $use_menu_options = no && +test "$use_menu_options" = no && cat >>confdefs.h <<\EOF #define NO_OPTION_MENU 1 EOF -echo "$as_me:36224: checking if sessions code should be used" >&5 +echo "$as_me:36336: checking if sessions code should be used" >&5 echo $ECHO_N "checking if sessions code should be used... $ECHO_C" >&6 # Check whether --enable-sessions or --disable-sessions was given. @@ -36238,9 +36350,9 @@ else use_sessions=yes fi; -echo "$as_me:36241: result: $use_sessions" >&5 +echo "$as_me:36353: result: $use_sessions" >&5 echo "${ECHO_T}$use_sessions" >&6 -if test $use_sessions != no ; then +if test "$use_sessions" != no ; then cat >>confdefs.h <<\EOF #define USE_SESSIONS 1 @@ -36249,7 +36361,7 @@ EOF EXTRA_OBJS="$EXTRA_OBJS LYSession\$o" fi -echo "$as_me:36252: checking if session-caching code should be used" >&5 +echo "$as_me:36364: checking if session-caching code should be used" >&5 echo $ECHO_N "checking if session-caching code should be used... $ECHO_C" >&6 # Check whether --enable-session-cache or --disable-session-cache was given. @@ -36266,9 +36378,9 @@ else use_session_cache=yes fi; -echo "$as_me:36269: result: $use_session_cache" >&5 +echo "$as_me:36381: result: $use_session_cache" >&5 echo "${ECHO_T}$use_session_cache" >&6 -if test $use_session_cache != no ; then +if test "$use_session_cache" != no ; then cat >>confdefs.h <<\EOF #define USE_CACHEJAR 1 @@ -36276,7 +36388,7 @@ EOF fi -echo "$as_me:36279: checking if address-list page should be used" >&5 +echo "$as_me:36391: checking if address-list page should be used" >&5 echo $ECHO_N "checking if address-list page should be used... $ECHO_C" >&6 # Check whether --enable-addrlist-page or --disable-addrlist-page was given. @@ -36293,14 +36405,14 @@ else use_addrlist_page=yes fi; -echo "$as_me:36296: result: $use_addrlist_page" >&5 +echo "$as_me:36408: result: $use_addrlist_page" >&5 echo "${ECHO_T}$use_addrlist_page" >&6 -test $use_addrlist_page != no && +test "$use_addrlist_page" != no && cat >>confdefs.h <<\EOF #define USE_ADDRLIST_PAGE 1 EOF -echo "$as_me:36303: checking if experimental CJK logic should be used" >&5 +echo "$as_me:36415: checking if experimental CJK logic should be used" >&5 echo $ECHO_N "checking if experimental CJK logic should be used... $ECHO_C" >&6 # Check whether --enable-cjk or --disable-cjk was given. @@ -36317,14 +36429,14 @@ else use_cjk=no fi; -echo "$as_me:36320: result: $use_cjk" >&5 +echo "$as_me:36432: result: $use_cjk" >&5 echo "${ECHO_T}$use_cjk" >&6 -test $use_cjk != no && +test "$use_cjk" != no && cat >>confdefs.h <<\EOF #define CJK_EX 1 EOF -echo "$as_me:36327: checking if experimental Japanese UTF-8 logic should be used" >&5 +echo "$as_me:36439: checking if experimental Japanese UTF-8 logic should be used" >&5 echo $ECHO_N "checking if experimental Japanese UTF-8 logic should be used... $ECHO_C" >&6 # Check whether --enable-japanese-utf8 or --disable-japanese-utf8 was given. @@ -36341,9 +36453,9 @@ else use_ja_utf8=no fi; -echo "$as_me:36344: result: $use_ja_utf8" >&5 +echo "$as_me:36456: result: $use_ja_utf8" >&5 echo "${ECHO_T}$use_ja_utf8" >&6 -if test $use_ja_utf8 != no ; then +if test "$use_ja_utf8" != no ; then cat >>confdefs.h <<\EOF #define EXP_JAPANESEUTF8_SUPPORT 1 @@ -36361,14 +36473,14 @@ case "$withval" in (*) for cf_searchpath in `echo "$withval" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -36389,8 +36501,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 36393 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 36505 "configure" #include "confdefs.h" #include <stdio.h> int @@ -36401,25 +36513,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:36405: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:36517: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:36408: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:36411: \"$ac_try\"") >&5 + echo "$as_me:36520: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:36523: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:36414: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36526: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -36428,11 +36540,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:36431: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:36543: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -36445,14 +36557,14 @@ echo "${as_me:-configure}:36431: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -36473,8 +36585,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 36477 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 36589 "configure" #include "confdefs.h" #include <stdio.h> int @@ -36485,25 +36597,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:36489: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:36601: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:36492: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:36495: \"$ac_try\"") >&5 + echo "$as_me:36604: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:36607: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:36498: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36610: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -36512,11 +36624,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:36515: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:36627: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -36530,18 +36642,18 @@ echo "${as_me:-configure}:36515: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:36533: error: cannot find libiconv under $withval" >&5 +{ { echo "$as_me:36645: error: cannot find libiconv under $withval" >&5 echo "$as_me: error: cannot find libiconv under $withval" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -36555,7 +36667,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:36558: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:36670: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -36563,14 +36675,14 @@ echo "${as_me:-configure}:36558: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -36584,7 +36696,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:36587: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:36699: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -36593,7 +36705,7 @@ echo "${as_me:-configure}:36587: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:36596: error: cannot find libiconv under $withval" >&5 +{ { echo "$as_me:36708: error: cannot find libiconv under $withval" >&5 echo "$as_me: error: cannot find libiconv under $withval" >&2;} { (exit 1); exit 1; }; } fi @@ -36604,7 +36716,7 @@ esac fi; - echo "$as_me:36607: checking for iconv" >&5 + echo "$as_me:36719: checking for iconv" >&5 echo $ECHO_N "checking for iconv... $ECHO_C" >&6 if test "${am_cv_func_iconv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -36615,12 +36727,12 @@ else cf_cv_header_path_iconv= cf_cv_library_path_iconv= -echo "${as_me:-configure}:36618: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5 +echo "${as_me:-configure}:36730: testing Starting FIND_LINKAGE(iconv,) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 36623 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 36735 "configure" #include "confdefs.h" #include <stdlib.h> @@ -36638,18 +36750,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:36642: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:36754: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:36645: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:36648: \"$ac_try\"") >&5 + echo "$as_me:36757: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:36760: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:36651: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36763: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_iconv=yes cf_cv_header_path_iconv=/usr/include @@ -36657,12 +36769,12 @@ if { (eval echo "$as_me:36642: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-liconv $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 36665 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 36777 "configure" #include "confdefs.h" #include <stdlib.h> @@ -36680,18 +36792,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:36684: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:36796: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:36687: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:36690: \"$ac_try\"") >&5 + echo "$as_me:36799: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:36802: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:36693: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36805: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_iconv=yes cf_cv_header_path_iconv=/usr/include @@ -36700,16 +36812,16 @@ if { (eval echo "$as_me:36684: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_iconv=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for iconv library" 1>&6 -echo "${as_me:-configure}:36710: testing find linkage for iconv library ..." 1>&5 +echo "${as_me:-configure}:36822: testing find linkage for iconv library ..." 1>&5 -echo "${as_me:-configure}:36712: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5 +echo "${as_me:-configure}:36824: testing Searching for headers in FIND_LINKAGE(iconv,) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -36721,7 +36833,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -36729,11 +36841,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/iconv && cf_search="$cf_search $cf_header_path/include/iconv" - test -d $cf_header_path/include/iconv/include && cf_search="$cf_search $cf_header_path/include/iconv/include" - test -d $cf_header_path/iconv/include && cf_search="$cf_search $cf_header_path/iconv/include" - test -d $cf_header_path/iconv/include/iconv && cf_search="$cf_search $cf_header_path/iconv/include/iconv" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/iconv" && cf_search="$cf_search $cf_header_path/include/iconv" + test -d "$cf_header_path/include/iconv/include" && cf_search="$cf_search $cf_header_path/include/iconv/include" + test -d "$cf_header_path/iconv/include" && cf_search="$cf_search $cf_header_path/iconv/include" + test -d "$cf_header_path/iconv/include/iconv" && cf_search="$cf_search $cf_header_path/iconv/include/iconv" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -36750,11 +36862,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/iconv && cf_search="$cf_search $prefix/include/iconv" - test -d $prefix/include/iconv/include && cf_search="$cf_search $prefix/include/iconv/include" - test -d $prefix/iconv/include && cf_search="$cf_search $prefix/iconv/include" - test -d $prefix/iconv/include/iconv && cf_search="$cf_search $prefix/iconv/include/iconv" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/iconv" && cf_search="$cf_search $prefix/include/iconv" + test -d "$prefix/include/iconv/include" && cf_search="$cf_search $prefix/include/iconv/include" + test -d "$prefix/iconv/include" && cf_search="$cf_search $prefix/iconv/include" + test -d "$prefix/iconv/include/iconv" && cf_search="$cf_search $prefix/iconv/include/iconv" } for cf_subdir_prefix in \ @@ -36768,13 +36880,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/iconv && cf_search="$cf_search $cf_subdir_prefix/include/iconv" - test -d $cf_subdir_prefix/include/iconv/include && cf_search="$cf_search $cf_subdir_prefix/include/iconv/include" - test -d $cf_subdir_prefix/iconv/include && cf_search="$cf_search $cf_subdir_prefix/iconv/include" - test -d $cf_subdir_prefix/iconv/include/iconv && cf_search="$cf_search $cf_subdir_prefix/iconv/include/iconv" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/iconv" && cf_search="$cf_search $cf_subdir_prefix/include/iconv" + test -d "$cf_subdir_prefix/include/iconv/include" && cf_search="$cf_search $cf_subdir_prefix/include/iconv/include" + test -d "$cf_subdir_prefix/iconv/include" && cf_search="$cf_search $cf_subdir_prefix/iconv/include" + test -d "$cf_subdir_prefix/iconv/include/iconv" && cf_search="$cf_search $cf_subdir_prefix/iconv/include/iconv" } done @@ -36782,33 +36894,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/iconv && cf_search="$cf_search $includedir/iconv" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/iconv" && cf_search="$cf_search $includedir/iconv" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/iconv && cf_search="$cf_search $oldincludedir/iconv" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/iconv" && cf_search="$cf_search $oldincludedir/iconv" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_iconv in $cf_search do - if test -d $cf_cv_header_path_iconv ; then + if test -d "$cf_cv_header_path_iconv" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_iconv" 1>&6 -echo "${as_me:-configure}:36803: testing ... testing $cf_cv_header_path_iconv ..." 1>&5 +echo "${as_me:-configure}:36915: testing ... testing $cf_cv_header_path_iconv ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_iconv" - cat >conftest.$ac_ext <<_ACEOF -#line 36811 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 36923 "configure" #include "confdefs.h" #include <stdlib.h> @@ -36826,40 +36938,40 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:36830: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:36942: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:36833: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:36836: \"$ac_try\"") >&5 + echo "$as_me:36945: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:36948: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:36839: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:36951: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found iconv headers in $cf_cv_header_path_iconv" 1>&6 -echo "${as_me:-configure}:36844: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5 +echo "${as_me:-configure}:36956: testing ... found iconv headers in $cf_cv_header_path_iconv ..." 1>&5 cf_cv_find_linkage_iconv=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_iconv" = maybe ; then -echo "${as_me:-configure}:36862: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5 +echo "${as_me:-configure}:36974: testing Searching for iconv library in FIND_LINKAGE(iconv,) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" @@ -36871,7 +36983,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -36879,11 +36991,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/iconv && cf_search="$cf_search $cf_library_path/lib/iconv" - test -d $cf_library_path/lib/iconv/lib && cf_search="$cf_search $cf_library_path/lib/iconv/lib" - test -d $cf_library_path/iconv/lib && cf_search="$cf_search $cf_library_path/iconv/lib" - test -d $cf_library_path/iconv/lib/iconv && cf_search="$cf_search $cf_library_path/iconv/lib/iconv" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/iconv" && cf_search="$cf_search $cf_library_path/lib/iconv" + test -d "$cf_library_path/lib/iconv/lib" && cf_search="$cf_search $cf_library_path/lib/iconv/lib" + test -d "$cf_library_path/iconv/lib" && cf_search="$cf_search $cf_library_path/iconv/lib" + test -d "$cf_library_path/iconv/lib/iconv" && cf_search="$cf_search $cf_library_path/iconv/lib/iconv" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -36898,11 +37010,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/iconv && cf_search="$cf_search $prefix/lib/iconv" - test -d $prefix/lib/iconv/lib && cf_search="$cf_search $prefix/lib/iconv/lib" - test -d $prefix/iconv/lib && cf_search="$cf_search $prefix/iconv/lib" - test -d $prefix/iconv/lib/iconv && cf_search="$cf_search $prefix/iconv/lib/iconv" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/iconv" && cf_search="$cf_search $prefix/lib/iconv" + test -d "$prefix/lib/iconv/lib" && cf_search="$cf_search $prefix/lib/iconv/lib" + test -d "$prefix/iconv/lib" && cf_search="$cf_search $prefix/iconv/lib" + test -d "$prefix/iconv/lib/iconv" && cf_search="$cf_search $prefix/iconv/lib/iconv" } for cf_subdir_prefix in \ @@ -36916,13 +37028,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/iconv && cf_search="$cf_search $cf_subdir_prefix/lib/iconv" - test -d $cf_subdir_prefix/lib/iconv/lib && cf_search="$cf_search $cf_subdir_prefix/lib/iconv/lib" - test -d $cf_subdir_prefix/iconv/lib && cf_search="$cf_search $cf_subdir_prefix/iconv/lib" - test -d $cf_subdir_prefix/iconv/lib/iconv && cf_search="$cf_search $cf_subdir_prefix/iconv/lib/iconv" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/iconv" && cf_search="$cf_search $cf_subdir_prefix/lib/iconv" + test -d "$cf_subdir_prefix/lib/iconv/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/iconv/lib" + test -d "$cf_subdir_prefix/iconv/lib" && cf_search="$cf_search $cf_subdir_prefix/iconv/lib" + test -d "$cf_subdir_prefix/iconv/lib/iconv" && cf_search="$cf_search $cf_subdir_prefix/iconv/lib/iconv" } done @@ -36931,16 +37043,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_iconv in $cf_search do - if test -d $cf_cv_library_path_iconv ; then + if test -d "$cf_cv_library_path_iconv" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_iconv" 1>&6 -echo "${as_me:-configure}:36937: testing ... testing $cf_cv_library_path_iconv ..." 1>&5 +echo "${as_me:-configure}:37049: testing ... testing $cf_cv_library_path_iconv ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-liconv $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_iconv" - cat >conftest.$ac_ext <<_ACEOF -#line 36943 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 37055 "configure" #include "confdefs.h" #include <stdlib.h> @@ -36958,36 +37070,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:36962: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:37074: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:36965: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:36968: \"$ac_try\"") >&5 + echo "$as_me:37077: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:37080: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:36971: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:37083: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found iconv library in $cf_cv_library_path_iconv" 1>&6 -echo "${as_me:-configure}:36976: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5 +echo "${as_me:-configure}:37088: testing ... found iconv library in $cf_cv_library_path_iconv ..." 1>&5 cf_cv_find_linkage_iconv=yes cf_cv_library_file_iconv="-liconv" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -36999,10 +37111,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -37013,7 +37125,7 @@ am_cv_func_iconv="no, consider installing GNU libiconv" fi fi -echo "$as_me:37016: result: $am_cv_func_iconv" >&5 +echo "$as_me:37128: result: $am_cv_func_iconv" >&5 echo "${ECHO_T}$am_cv_func_iconv" >&6 if test "$am_cv_func_iconv" = yes; then @@ -37022,14 +37134,14 @@ cat >>confdefs.h <<\EOF #define HAVE_ICONV 1 EOF - echo "$as_me:37025: checking if the declaration of iconv() needs const." >&5 + echo "$as_me:37137: checking if the declaration of iconv() needs const." >&5 echo $ECHO_N "checking if the declaration of iconv() needs const.... $ECHO_C" >&6 if test "${am_cv_proto_iconv_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 37032 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 37144 "configure" #include "confdefs.h" #include <stdlib.h> @@ -37053,27 +37165,27 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:37057: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:37169: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:37060: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:37063: \"$ac_try\"") >&5 + echo "$as_me:37172: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:37175: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:37066: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:37178: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then am_cv_proto_iconv_const=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 am_cv_proto_iconv_const=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:37076: result: $am_cv_proto_iconv_const" >&5 +echo "$as_me:37188: result: $am_cv_proto_iconv_const" >&5 echo "${ECHO_T}$am_cv_proto_iconv_const" >&6 if test "$am_cv_proto_iconv_const" = yes ; then @@ -37094,9 +37206,9 @@ EOF if test -n "$cf_cv_header_path_iconv" ; then for cf_add_incdir in $cf_cv_header_path_iconv do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -37117,8 +37229,8 @@ if test -n "$cf_cv_header_path_iconv" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 37121 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 37233 "configure" #include "confdefs.h" #include <stdio.h> int @@ -37129,25 +37241,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:37133: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:37245: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:37136: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:37139: \"$ac_try\"") >&5 + echo "$as_me:37248: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:37251: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:37142: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:37254: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -37156,11 +37268,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:37159: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:37271: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -37179,9 +37291,9 @@ fi if test -n "$cf_cv_library_path_iconv" ; then for cf_add_libdir in $cf_cv_library_path_iconv do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -37195,7 +37307,7 @@ if test -n "$cf_cv_library_path_iconv" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:37198: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:37310: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -37211,7 +37323,7 @@ fi fi fi -echo "$as_me:37214: checking if experimental wcwidth/UTF-8 logic should be used" >&5 +echo "$as_me:37326: checking if experimental wcwidth/UTF-8 logic should be used" >&5 echo $ECHO_N "checking if experimental wcwidth/UTF-8 logic should be used... $ECHO_C" >&6 # Check whether --enable-wcwidth-support or --disable-wcwidth-support was given. @@ -37228,22 +37340,22 @@ else use_wcwidth=no fi; -echo "$as_me:37231: result: $use_wcwidth" >&5 +echo "$as_me:37343: result: $use_wcwidth" >&5 echo "${ECHO_T}$use_wcwidth" >&6 -test $use_wcwidth != no && +test "$use_wcwidth" != no && cat >>confdefs.h <<\EOF #define EXP_WCWIDTH_SUPPORT 1 EOF use_dft_colors=no -case $cf_cv_screen in +case "$cf_cv_screen" in (curses|slang|ncurses*) use_dft_colors=maybe ;; esac if test "$use_dft_colors" != no ; then -echo "$as_me:37246: checking if you want to use default-colors" >&5 +echo "$as_me:37358: checking if you want to use default-colors" >&5 echo $ECHO_N "checking if you want to use default-colors... $ECHO_C" >&6 # Check whether --enable-default-colors or --disable-default-colors was given. @@ -37260,16 +37372,16 @@ else use_dft_colors=no fi; -echo "$as_me:37263: result: $use_dft_colors" >&5 +echo "$as_me:37375: result: $use_dft_colors" >&5 echo "${ECHO_T}$use_dft_colors" >&6 -test $use_dft_colors = "yes" && +test "$use_dft_colors" = "yes" && cat >>confdefs.h <<\EOF #define USE_DEFAULT_COLORS 1 EOF fi -echo "$as_me:37272: checking if experimental keyboard-layout logic should be used" >&5 +echo "$as_me:37384: checking if experimental keyboard-layout logic should be used" >&5 echo $ECHO_N "checking if experimental keyboard-layout logic should be used... $ECHO_C" >&6 # Check whether --enable-kbd-layout or --disable-kbd-layout was given. @@ -37286,14 +37398,14 @@ else use_kbd_layout=no fi; -echo "$as_me:37289: result: $use_kbd_layout" >&5 +echo "$as_me:37401: result: $use_kbd_layout" >&5 echo "${ECHO_T}$use_kbd_layout" >&6 -test $use_kbd_layout != no && +test "$use_kbd_layout" != no && cat >>confdefs.h <<\EOF #define EXP_KEYBOARD_LAYOUT 1 EOF -echo "$as_me:37296: checking if experimental nested-table logic should be used" >&5 +echo "$as_me:37408: checking if experimental nested-table logic should be used" >&5 echo $ECHO_N "checking if experimental nested-table logic should be used... $ECHO_C" >&6 # Check whether --enable-nested-tables or --disable-nested-tables was given. @@ -37310,14 +37422,14 @@ else use_nested_tables=no fi; -echo "$as_me:37313: result: $use_nested_tables" >&5 +echo "$as_me:37425: result: $use_nested_tables" >&5 echo "${ECHO_T}$use_nested_tables" >&6 -test $use_nested_tables != no && +test "$use_nested_tables" != no && cat >>confdefs.h <<\EOF #define EXP_NESTED_TABLES 1 EOF -echo "$as_me:37320: checking if alternative line-edit bindings should be used" >&5 +echo "$as_me:37432: checking if alternative line-edit bindings should be used" >&5 echo $ECHO_N "checking if alternative line-edit bindings should be used... $ECHO_C" >&6 # Check whether --enable-alt-bindings or --disable-alt-bindings was given. @@ -37334,14 +37446,14 @@ else use_alt_bindings=yes fi; -echo "$as_me:37337: result: $use_alt_bindings" >&5 +echo "$as_me:37449: result: $use_alt_bindings" >&5 echo "${ECHO_T}$use_alt_bindings" >&6 -test $use_alt_bindings != no && +test "$use_alt_bindings" != no && cat >>confdefs.h <<\EOF #define USE_ALT_BINDINGS 1 EOF -echo "$as_me:37344: checking if ascii case-conversion should be used" >&5 +echo "$as_me:37456: checking if ascii case-conversion should be used" >&5 echo $ECHO_N "checking if ascii case-conversion should be used... $ECHO_C" >&6 # Check whether --enable-ascii-ctypes or --disable-ascii-ctypes was given. @@ -37358,14 +37470,14 @@ else use_ascii_ctypes=yes fi; -echo "$as_me:37361: result: $use_ascii_ctypes" >&5 +echo "$as_me:37473: result: $use_ascii_ctypes" >&5 echo "${ECHO_T}$use_ascii_ctypes" >&6 -test $use_ascii_ctypes != no && +test "$use_ascii_ctypes" != no && cat >>confdefs.h <<\EOF #define USE_ASCII_CTYPES 1 EOF -echo "$as_me:37368: checking if you want to use extended HTML DTD logic" >&5 +echo "$as_me:37480: checking if you want to use extended HTML DTD logic" >&5 echo $ECHO_N "checking if you want to use extended HTML DTD logic... $ECHO_C" >&6 # Check whether --enable-extended-dtd or --disable-extended-dtd was given. @@ -37382,14 +37494,14 @@ else use_ext_htmldtd=yes fi; -echo "$as_me:37385: result: $use_ext_htmldtd" >&5 +echo "$as_me:37497: result: $use_ext_htmldtd" >&5 echo "${ECHO_T}$use_ext_htmldtd" >&6 -test $use_ext_htmldtd = "no" && +test "$use_ext_htmldtd" = "no" && cat >>confdefs.h <<\EOF #define NO_EXTENDED_HTMLDTD 1 EOF -echo "$as_me:37392: checking if file-upload logic should be used" >&5 +echo "$as_me:37504: checking if file-upload logic should be used" >&5 echo $ECHO_N "checking if file-upload logic should be used... $ECHO_C" >&6 # Check whether --enable-file-upload or --disable-file-upload was given. @@ -37406,14 +37518,14 @@ else use_file_upload=yes fi; -echo "$as_me:37409: result: $use_file_upload" >&5 +echo "$as_me:37521: result: $use_file_upload" >&5 echo "${ECHO_T}$use_file_upload" >&6 -test $use_file_upload != no && +test "$use_file_upload" != no && cat >>confdefs.h <<\EOF #define USE_FILE_UPLOAD 1 EOF -echo "$as_me:37416: checking if IDNA support should be used" >&5 +echo "$as_me:37528: checking if IDNA support should be used" >&5 echo $ECHO_N "checking if IDNA support should be used... $ECHO_C" >&6 # Check whether --enable-idna or --disable-idna was given. @@ -37430,7 +37542,7 @@ else use_idna=yes fi; -echo "$as_me:37433: result: $use_idna" >&5 +echo "$as_me:37545: result: $use_idna" >&5 echo "${ECHO_T}$use_idna" >&6 if test "$use_idna" = yes ; then @@ -37443,14 +37555,14 @@ case "$use_idna" in (*) for cf_searchpath in `echo "$use_idna" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -37471,8 +37583,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 37475 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 37587 "configure" #include "confdefs.h" #include <stdio.h> int @@ -37483,25 +37595,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:37487: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:37599: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:37490: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:37493: \"$ac_try\"") >&5 + echo "$as_me:37602: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:37605: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:37496: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:37608: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -37510,11 +37622,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:37513: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:37625: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -37527,14 +37639,14 @@ echo "${as_me:-configure}:37513: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -37555,8 +37667,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 37559 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 37671 "configure" #include "confdefs.h" #include <stdio.h> int @@ -37567,25 +37679,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:37571: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:37683: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:37574: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:37577: \"$ac_try\"") >&5 + echo "$as_me:37686: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:37689: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:37580: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:37692: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -37594,11 +37706,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:37597: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:37709: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -37612,18 +37724,18 @@ echo "${as_me:-configure}:37597: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:37615: error: cannot find under $use_idna" >&5 +{ { echo "$as_me:37727: error: cannot find under $use_idna" >&5 echo "$as_me: error: cannot find under $use_idna" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -37637,7 +37749,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:37640: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:37752: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -37645,14 +37757,14 @@ echo "${as_me:-configure}:37640: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -37666,7 +37778,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:37669: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:37781: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -37675,7 +37787,7 @@ echo "${as_me:-configure}:37669: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:37678: error: cannot find under $use_idna" >&5 +{ { echo "$as_me:37790: error: cannot find under $use_idna" >&5 echo "$as_me: error: cannot find under $use_idna" >&2;} { (exit 1); exit 1; }; } fi @@ -37689,12 +37801,12 @@ esac cf_cv_header_path_idn= cf_cv_library_path_idn= -echo "${as_me:-configure}:37692: testing Starting FIND_LINKAGE(idn,) ..." 1>&5 +echo "${as_me:-configure}:37804: testing Starting FIND_LINKAGE(idn,) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 37697 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 37809 "configure" #include "confdefs.h" #include <stdio.h> @@ -37711,18 +37823,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:37715: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:37827: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:37718: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:37721: \"$ac_try\"") >&5 + echo "$as_me:37830: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:37833: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:37724: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:37836: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_idn=yes cf_cv_header_path_idn=/usr/include @@ -37730,12 +37842,12 @@ if { (eval echo "$as_me:37715: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lidn $LIBICONV $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 37738 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 37850 "configure" #include "confdefs.h" #include <stdio.h> @@ -37752,18 +37864,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:37756: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:37868: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:37759: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:37762: \"$ac_try\"") >&5 + echo "$as_me:37871: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:37874: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:37765: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:37877: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_idn=yes cf_cv_header_path_idn=/usr/include @@ -37772,16 +37884,16 @@ if { (eval echo "$as_me:37756: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_idn=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for idn library" 1>&6 -echo "${as_me:-configure}:37782: testing find linkage for idn library ..." 1>&5 +echo "${as_me:-configure}:37894: testing find linkage for idn library ..." 1>&5 -echo "${as_me:-configure}:37784: testing Searching for headers in FIND_LINKAGE(idn,) ..." 1>&5 +echo "${as_me:-configure}:37896: testing Searching for headers in FIND_LINKAGE(idn,) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -37793,7 +37905,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -37801,11 +37913,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/idn && cf_search="$cf_search $cf_header_path/include/idn" - test -d $cf_header_path/include/idn/include && cf_search="$cf_search $cf_header_path/include/idn/include" - test -d $cf_header_path/idn/include && cf_search="$cf_search $cf_header_path/idn/include" - test -d $cf_header_path/idn/include/idn && cf_search="$cf_search $cf_header_path/idn/include/idn" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/idn" && cf_search="$cf_search $cf_header_path/include/idn" + test -d "$cf_header_path/include/idn/include" && cf_search="$cf_search $cf_header_path/include/idn/include" + test -d "$cf_header_path/idn/include" && cf_search="$cf_search $cf_header_path/idn/include" + test -d "$cf_header_path/idn/include/idn" && cf_search="$cf_search $cf_header_path/idn/include/idn" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -37822,11 +37934,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/idn && cf_search="$cf_search $prefix/include/idn" - test -d $prefix/include/idn/include && cf_search="$cf_search $prefix/include/idn/include" - test -d $prefix/idn/include && cf_search="$cf_search $prefix/idn/include" - test -d $prefix/idn/include/idn && cf_search="$cf_search $prefix/idn/include/idn" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/idn" && cf_search="$cf_search $prefix/include/idn" + test -d "$prefix/include/idn/include" && cf_search="$cf_search $prefix/include/idn/include" + test -d "$prefix/idn/include" && cf_search="$cf_search $prefix/idn/include" + test -d "$prefix/idn/include/idn" && cf_search="$cf_search $prefix/idn/include/idn" } for cf_subdir_prefix in \ @@ -37840,13 +37952,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/idn && cf_search="$cf_search $cf_subdir_prefix/include/idn" - test -d $cf_subdir_prefix/include/idn/include && cf_search="$cf_search $cf_subdir_prefix/include/idn/include" - test -d $cf_subdir_prefix/idn/include && cf_search="$cf_search $cf_subdir_prefix/idn/include" - test -d $cf_subdir_prefix/idn/include/idn && cf_search="$cf_search $cf_subdir_prefix/idn/include/idn" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/idn" && cf_search="$cf_search $cf_subdir_prefix/include/idn" + test -d "$cf_subdir_prefix/include/idn/include" && cf_search="$cf_search $cf_subdir_prefix/include/idn/include" + test -d "$cf_subdir_prefix/idn/include" && cf_search="$cf_search $cf_subdir_prefix/idn/include" + test -d "$cf_subdir_prefix/idn/include/idn" && cf_search="$cf_search $cf_subdir_prefix/idn/include/idn" } done @@ -37854,33 +37966,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/idn && cf_search="$cf_search $includedir/idn" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/idn" && cf_search="$cf_search $includedir/idn" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/idn && cf_search="$cf_search $oldincludedir/idn" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/idn" && cf_search="$cf_search $oldincludedir/idn" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_idn in $cf_search do - if test -d $cf_cv_header_path_idn ; then + if test -d "$cf_cv_header_path_idn" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_idn" 1>&6 -echo "${as_me:-configure}:37875: testing ... testing $cf_cv_header_path_idn ..." 1>&5 +echo "${as_me:-configure}:37987: testing ... testing $cf_cv_header_path_idn ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_idn" - cat >conftest.$ac_ext <<_ACEOF -#line 37883 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 37995 "configure" #include "confdefs.h" #include <stdio.h> @@ -37897,40 +38009,40 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:37901: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:38013: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:37904: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:37907: \"$ac_try\"") >&5 + echo "$as_me:38016: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:38019: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:37910: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:38022: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found idn headers in $cf_cv_header_path_idn" 1>&6 -echo "${as_me:-configure}:37915: testing ... found idn headers in $cf_cv_header_path_idn ..." 1>&5 +echo "${as_me:-configure}:38027: testing ... found idn headers in $cf_cv_header_path_idn ..." 1>&5 cf_cv_find_linkage_idn=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_idn" = maybe ; then -echo "${as_me:-configure}:37933: testing Searching for idn library in FIND_LINKAGE(idn,) ..." 1>&5 +echo "${as_me:-configure}:38045: testing Searching for idn library in FIND_LINKAGE(idn,) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" @@ -37942,7 +38054,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -37950,11 +38062,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/idn && cf_search="$cf_search $cf_library_path/lib/idn" - test -d $cf_library_path/lib/idn/lib && cf_search="$cf_search $cf_library_path/lib/idn/lib" - test -d $cf_library_path/idn/lib && cf_search="$cf_search $cf_library_path/idn/lib" - test -d $cf_library_path/idn/lib/idn && cf_search="$cf_search $cf_library_path/idn/lib/idn" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/idn" && cf_search="$cf_search $cf_library_path/lib/idn" + test -d "$cf_library_path/lib/idn/lib" && cf_search="$cf_search $cf_library_path/lib/idn/lib" + test -d "$cf_library_path/idn/lib" && cf_search="$cf_search $cf_library_path/idn/lib" + test -d "$cf_library_path/idn/lib/idn" && cf_search="$cf_search $cf_library_path/idn/lib/idn" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -37969,11 +38081,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/idn && cf_search="$cf_search $prefix/lib/idn" - test -d $prefix/lib/idn/lib && cf_search="$cf_search $prefix/lib/idn/lib" - test -d $prefix/idn/lib && cf_search="$cf_search $prefix/idn/lib" - test -d $prefix/idn/lib/idn && cf_search="$cf_search $prefix/idn/lib/idn" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/idn" && cf_search="$cf_search $prefix/lib/idn" + test -d "$prefix/lib/idn/lib" && cf_search="$cf_search $prefix/lib/idn/lib" + test -d "$prefix/idn/lib" && cf_search="$cf_search $prefix/idn/lib" + test -d "$prefix/idn/lib/idn" && cf_search="$cf_search $prefix/idn/lib/idn" } for cf_subdir_prefix in \ @@ -37987,13 +38099,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/idn && cf_search="$cf_search $cf_subdir_prefix/lib/idn" - test -d $cf_subdir_prefix/lib/idn/lib && cf_search="$cf_search $cf_subdir_prefix/lib/idn/lib" - test -d $cf_subdir_prefix/idn/lib && cf_search="$cf_search $cf_subdir_prefix/idn/lib" - test -d $cf_subdir_prefix/idn/lib/idn && cf_search="$cf_search $cf_subdir_prefix/idn/lib/idn" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/idn" && cf_search="$cf_search $cf_subdir_prefix/lib/idn" + test -d "$cf_subdir_prefix/lib/idn/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/idn/lib" + test -d "$cf_subdir_prefix/idn/lib" && cf_search="$cf_search $cf_subdir_prefix/idn/lib" + test -d "$cf_subdir_prefix/idn/lib/idn" && cf_search="$cf_search $cf_subdir_prefix/idn/lib/idn" } done @@ -38002,16 +38114,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_idn in $cf_search do - if test -d $cf_cv_library_path_idn ; then + if test -d "$cf_cv_library_path_idn" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_idn" 1>&6 -echo "${as_me:-configure}:38008: testing ... testing $cf_cv_library_path_idn ..." 1>&5 +echo "${as_me:-configure}:38120: testing ... testing $cf_cv_library_path_idn ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lidn $LIBICONV $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_idn" - cat >conftest.$ac_ext <<_ACEOF -#line 38014 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 38126 "configure" #include "confdefs.h" #include <stdio.h> @@ -38028,36 +38140,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:38032: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:38144: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:38035: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:38038: \"$ac_try\"") >&5 + echo "$as_me:38147: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:38150: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:38041: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:38153: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found idn library in $cf_cv_library_path_idn" 1>&6 -echo "${as_me:-configure}:38046: testing ... found idn library in $cf_cv_library_path_idn ..." 1>&5 +echo "${as_me:-configure}:38158: testing ... found idn library in $cf_cv_library_path_idn ..." 1>&5 cf_cv_find_linkage_idn=yes cf_cv_library_file_idn="-lidn" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -38069,10 +38181,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -38081,9 +38193,9 @@ if test "$cf_cv_find_linkage_idn" = yes ; then if test -n "$cf_cv_header_path_idn" ; then for cf_add_incdir in $cf_cv_header_path_idn do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -38104,8 +38216,8 @@ if test -n "$cf_cv_header_path_idn" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 38108 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 38220 "configure" #include "confdefs.h" #include <stdio.h> int @@ -38116,25 +38228,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:38120: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:38232: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:38123: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:38126: \"$ac_try\"") >&5 + echo "$as_me:38235: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:38238: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:38129: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:38241: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -38143,11 +38255,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:38146: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:38258: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -38163,9 +38275,9 @@ fi if test -n "$cf_cv_library_path_idn" ; then for cf_add_libdir in $cf_cv_library_path_idn do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -38179,7 +38291,7 @@ if test -n "$cf_cv_library_path_idn" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:38182: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:38294: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -38204,7 +38316,7 @@ done LIBS="$cf_add_libs" else -{ echo "$as_me:38207: WARNING: Cannot find idn library" >&5 +{ echo "$as_me:38319: WARNING: Cannot find idn library" >&5 echo "$as_me: WARNING: Cannot find idn library" >&2;} fi @@ -38218,7 +38330,7 @@ fi fi -echo "$as_me:38221: checking if element-justification logic should be used" >&5 +echo "$as_me:38333: checking if element-justification logic should be used" >&5 echo $ECHO_N "checking if element-justification logic should be used... $ECHO_C" >&6 # Check whether --enable-justify-elts or --disable-justify-elts was given. @@ -38235,14 +38347,14 @@ else use_justify_elts=yes fi; -echo "$as_me:38238: result: $use_justify_elts" >&5 +echo "$as_me:38350: result: $use_justify_elts" >&5 echo "${ECHO_T}$use_justify_elts" >&6 -test $use_justify_elts != no && +test "$use_justify_elts" != no && cat >>confdefs.h <<\EOF #define USE_JUSTIFY_ELTS 1 EOF -echo "$as_me:38245: checking if partial-display should be used" >&5 +echo "$as_me:38357: checking if partial-display should be used" >&5 echo $ECHO_N "checking if partial-display should be used... $ECHO_C" >&6 # Check whether --enable-partial or --disable-partial was given. @@ -38259,14 +38371,14 @@ else use_partial_display=yes fi; -echo "$as_me:38262: result: $use_partial_display" >&5 +echo "$as_me:38374: result: $use_partial_display" >&5 echo "${ECHO_T}$use_partial_display" >&6 -test $use_partial_display != no && +test "$use_partial_display" != no && cat >>confdefs.h <<\EOF #define DISP_PARTIAL 1 EOF -echo "$as_me:38269: checking if persistent-cookie logic should be used" >&5 +echo "$as_me:38381: checking if persistent-cookie logic should be used" >&5 echo $ECHO_N "checking if persistent-cookie logic should be used... $ECHO_C" >&6 # Check whether --enable-persistent-cookies or --disable-persistent-cookies was given. @@ -38283,14 +38395,14 @@ else use_filed_cookies=yes fi; -echo "$as_me:38286: result: $use_filed_cookies" >&5 +echo "$as_me:38398: result: $use_filed_cookies" >&5 echo "${ECHO_T}$use_filed_cookies" >&6 -test $use_filed_cookies != no && +test "$use_filed_cookies" != no && cat >>confdefs.h <<\EOF #define USE_PERSISTENT_COOKIES 1 EOF -echo "$as_me:38293: checking if html source should be colorized" >&5 +echo "$as_me:38405: checking if html source should be colorized" >&5 echo $ECHO_N "checking if html source should be colorized... $ECHO_C" >&6 # Check whether --enable-prettysrc or --disable-prettysrc was given. @@ -38307,14 +38419,14 @@ else use_prettysrc=yes fi; -echo "$as_me:38310: result: $use_prettysrc" >&5 +echo "$as_me:38422: result: $use_prettysrc" >&5 echo "${ECHO_T}$use_prettysrc" >&6 -test $use_prettysrc != no && +test "$use_prettysrc" != no && cat >>confdefs.h <<\EOF #define USE_PRETTYSRC 1 EOF -echo "$as_me:38317: checking if progress-bar code should be used" >&5 +echo "$as_me:38429: checking if progress-bar code should be used" >&5 echo $ECHO_N "checking if progress-bar code should be used... $ECHO_C" >&6 # Check whether --enable-progressbar or --disable-progressbar was given. @@ -38331,14 +38443,14 @@ else use_progressbar=yes fi; -echo "$as_me:38334: result: $use_progressbar" >&5 +echo "$as_me:38446: result: $use_progressbar" >&5 echo "${ECHO_T}$use_progressbar" >&6 -test $use_progressbar != no && +test "$use_progressbar" != no && cat >>confdefs.h <<\EOF #define USE_PROGRESSBAR 1 EOF -echo "$as_me:38341: checking if read-progress message should show ETA" >&5 +echo "$as_me:38453: checking if read-progress message should show ETA" >&5 echo $ECHO_N "checking if read-progress message should show ETA... $ECHO_C" >&6 # Check whether --enable-read-eta or --disable-read-eta was given. @@ -38355,14 +38467,14 @@ else use_read_eta=yes fi; -echo "$as_me:38358: result: $use_read_eta" >&5 +echo "$as_me:38470: result: $use_read_eta" >&5 echo "${ECHO_T}$use_read_eta" >&6 -test $use_read_eta != no && +test "$use_read_eta" != no && cat >>confdefs.h <<\EOF #define USE_READPROGRESS 1 EOF -echo "$as_me:38365: checking if source caching should be used" >&5 +echo "$as_me:38477: checking if source caching should be used" >&5 echo $ECHO_N "checking if source caching should be used... $ECHO_C" >&6 # Check whether --enable-source-cache or --disable-source-cache was given. @@ -38379,14 +38491,14 @@ else use_source_cache=yes fi; -echo "$as_me:38382: result: $use_source_cache" >&5 +echo "$as_me:38494: result: $use_source_cache" >&5 echo "${ECHO_T}$use_source_cache" >&6 -test $use_source_cache != no && +test "$use_source_cache" != no && cat >>confdefs.h <<\EOF #define USE_SOURCE_CACHE 1 EOF -echo "$as_me:38389: checking if scrollbar code should be used" >&5 +echo "$as_me:38501: checking if scrollbar code should be used" >&5 echo $ECHO_N "checking if scrollbar code should be used... $ECHO_C" >&6 # Check whether --enable-scrollbar or --disable-scrollbar was given. @@ -38403,10 +38515,10 @@ else use_scrollbar=yes fi; -echo "$as_me:38406: result: $use_scrollbar" >&5 +echo "$as_me:38518: result: $use_scrollbar" >&5 echo "${ECHO_T}$use_scrollbar" >&6 -echo "$as_me:38409: checking if charset-selection logic should be used" >&5 +echo "$as_me:38521: checking if charset-selection logic should be used" >&5 echo $ECHO_N "checking if charset-selection logic should be used... $ECHO_C" >&6 # Check whether --enable-charset-choice or --disable-charset-choice was given. @@ -38423,14 +38535,14 @@ else use_charset_choice=no fi; -echo "$as_me:38426: result: $use_charset_choice" >&5 +echo "$as_me:38538: result: $use_charset_choice" >&5 echo "${ECHO_T}$use_charset_choice" >&6 -test $use_charset_choice != no && +test "$use_charset_choice" != no && cat >>confdefs.h <<\EOF #define USE_CHARSET_CHOICE 1 EOF -echo "$as_me:38433: checking if you want to use external commands" >&5 +echo "$as_me:38545: checking if you want to use external commands" >&5 echo $ECHO_N "checking if you want to use external commands... $ECHO_C" >&6 # Check whether --enable-externs or --disable-externs was given. @@ -38447,9 +38559,9 @@ else use_externs=no fi; -echo "$as_me:38450: result: $use_externs" >&5 +echo "$as_me:38562: result: $use_externs" >&5 echo "${ECHO_T}$use_externs" >&6 -if test $use_externs != "no" ; then +if test "$use_externs" != "no" ; then cat >>confdefs.h <<\EOF #define USE_EXTERNALS 1 @@ -38458,7 +38570,7 @@ EOF EXTRA_OBJS="$EXTRA_OBJS LYExtern\$o" fi -echo "$as_me:38461: checking if you want to use setfont support" >&5 +echo "$as_me:38573: checking if you want to use setfont support" >&5 echo $ECHO_N "checking if you want to use setfont support... $ECHO_C" >&6 # Check whether --enable-font-switch or --disable-font-switch was given. @@ -38475,18 +38587,18 @@ else use_setfont=no fi; -echo "$as_me:38478: result: $use_setfont" >&5 +echo "$as_me:38590: result: $use_setfont" >&5 echo "${ECHO_T}$use_setfont" >&6 -if test $use_setfont = yes ; then - case $host_os in +if test "$use_setfont" = yes ; then + case "$host_os" in (linux*) -test -z "$SETFONT" && SETFONT=consolechars +test -z "$SETFONT" && SETFONT="consolechars" for ac_prog in $SETFONT consolechars setfont do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:38489: checking for $ac_word" >&5 +echo "$as_me:38601: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_SETFONT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -38503,7 +38615,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_SETFONT="$ac_dir/$ac_word" - echo "$as_me:38506: found $ac_dir/$ac_word" >&5 + echo "$as_me:38618: found $ac_dir/$ac_word" >&5 break fi done @@ -38514,10 +38626,10 @@ fi SETFONT=$ac_cv_path_SETFONT if test -n "$SETFONT"; then - echo "$as_me:38517: result: $SETFONT" >&5 + echo "$as_me:38629: result: $SETFONT" >&5 echo "${ECHO_T}$SETFONT" >&6 else - echo "$as_me:38520: result: no" >&5 + echo "$as_me:38632: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -38546,16 +38658,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -38564,7 +38676,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -38576,7 +38688,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:38579: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:38691: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define SETFONT_PATH "$cf_path_prog" @@ -38594,19 +38706,19 @@ fi SETFONT=built-in test -n "$verbose" && echo " Assume $host_os has font-switching" 1>&6 -echo "${as_me:-configure}:38597: testing Assume $host_os has font-switching ..." 1>&5 +echo "${as_me:-configure}:38709: testing Assume $host_os has font-switching ..." 1>&5 ;; (*) SETFONT=unknown test -n "$verbose" && echo " Assume $host_os has no font-switching" 1>&6 -echo "${as_me:-configure}:38604: testing Assume $host_os has no font-switching ..." 1>&5 +echo "${as_me:-configure}:38716: testing Assume $host_os has no font-switching ..." 1>&5 ;; esac if test -z "$SETFONT" ; then - { echo "$as_me:38609: WARNING: Cannot find a font-setting program" >&5 + { echo "$as_me:38721: WARNING: Cannot find a font-setting program" >&5 echo "$as_me: WARNING: Cannot find a font-setting program" >&2;} elif test "$SETFONT" != unknown ; then @@ -38617,7 +38729,7 @@ EOF fi fi -echo "$as_me:38620: checking if you want cgi-link support" >&5 +echo "$as_me:38732: checking if you want cgi-link support" >&5 echo $ECHO_N "checking if you want cgi-link support... $ECHO_C" >&6 # Check whether --enable-cgi-links or --disable-cgi-links was given. @@ -38634,10 +38746,10 @@ EOF else enableval=no fi; -echo "$as_me:38637: result: $enableval" >&5 +echo "$as_me:38749: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 -echo "$as_me:38640: checking if you want change-exec support" >&5 +echo "$as_me:38752: checking if you want change-exec support" >&5 echo $ECHO_N "checking if you want change-exec support... $ECHO_C" >&6 # Check whether --enable-change-exec or --disable-change-exec was given. @@ -38654,14 +38766,14 @@ else use_change_exec=no fi; -echo "$as_me:38657: result: $use_change_exec" >&5 +echo "$as_me:38769: result: $use_change_exec" >&5 echo "${ECHO_T}$use_change_exec" >&6 -test $use_change_exec = yes && +test "$use_change_exec" = yes && cat >>confdefs.h <<\EOF #define ENABLE_OPTS_CHANGE_EXEC 1 EOF -echo "$as_me:38664: checking if you want exec-links support" >&5 +echo "$as_me:38776: checking if you want exec-links support" >&5 echo $ECHO_N "checking if you want exec-links support... $ECHO_C" >&6 # Check whether --enable-exec-links or --disable-exec-links was given. @@ -38678,14 +38790,14 @@ else use_exec_links=$enableval fi; -echo "$as_me:38681: result: $use_exec_links" >&5 +echo "$as_me:38793: result: $use_exec_links" >&5 echo "${ECHO_T}$use_exec_links" >&6 -test $use_exec_links = yes && +test "$use_exec_links" = yes && cat >>confdefs.h <<\EOF #define EXEC_LINKS 1 EOF -echo "$as_me:38688: checking if you want exec-scripts support" >&5 +echo "$as_me:38800: checking if you want exec-scripts support" >&5 echo $ECHO_N "checking if you want exec-scripts support... $ECHO_C" >&6 # Check whether --enable-exec-scripts or --disable-exec-scripts was given. @@ -38702,14 +38814,14 @@ else use_exec_scripts=$enableval fi; -echo "$as_me:38705: result: $use_exec_scripts" >&5 +echo "$as_me:38817: result: $use_exec_scripts" >&5 echo "${ECHO_T}$use_exec_scripts" >&6 -test $use_exec_scripts = yes && +test "$use_exec_scripts" = yes && cat >>confdefs.h <<\EOF #define EXEC_SCRIPTS 1 EOF -echo "$as_me:38712: checking if you want internal-links feature" >&5 +echo "$as_me:38824: checking if you want internal-links feature" >&5 echo $ECHO_N "checking if you want internal-links feature... $ECHO_C" >&6 # Check whether --enable-internal-links or --disable-internal-links was given. @@ -38726,14 +38838,14 @@ else use_internal_links=no fi; -echo "$as_me:38729: result: $use_internal_links" >&5 +echo "$as_me:38841: result: $use_internal_links" >&5 echo "${ECHO_T}$use_internal_links" >&6 -test $use_internal_links = yes && +test "$use_internal_links" = yes && cat >>confdefs.h <<\EOF #define TRACK_INTERNAL_LINKS 1 EOF -echo "$as_me:38736: checking if you want to fork NSL requests" >&5 +echo "$as_me:38848: checking if you want to fork NSL requests" >&5 echo $ECHO_N "checking if you want to fork NSL requests... $ECHO_C" >&6 # Check whether --enable-nsl-fork or --disable-nsl-fork was given. @@ -38750,10 +38862,10 @@ else use_nsl_fork=no fi; -echo "$as_me:38753: result: $use_nsl_fork" >&5 +echo "$as_me:38865: result: $use_nsl_fork" >&5 echo "${ECHO_T}$use_nsl_fork" >&6 -if test $use_nsl_fork = yes ; then - case $host_os in +if test "$use_nsl_fork" = yes ; then + case "$host_os" in (mingw*) cat >>confdefs.h <<\EOF @@ -38771,7 +38883,7 @@ EOF esac fi -echo "$as_me:38774: checking if you want to log URL requests via syslog" >&5 +echo "$as_me:38886: checking if you want to log URL requests via syslog" >&5 echo $ECHO_N "checking if you want to log URL requests via syslog... $ECHO_C" >&6 # Check whether --enable-syslog or --disable-syslog was given. @@ -38788,14 +38900,14 @@ else use_syslog=no fi; -echo "$as_me:38791: result: $use_syslog" >&5 +echo "$as_me:38903: result: $use_syslog" >&5 echo "${ECHO_T}$use_syslog" >&6 -test $use_syslog = yes && +test "$use_syslog" = yes && cat >>confdefs.h <<\EOF #define SYSLOG_REQUESTED_URLS 1 EOF -echo "$as_me:38798: checking if you want to underline links" >&5 +echo "$as_me:38910: checking if you want to underline links" >&5 echo $ECHO_N "checking if you want to underline links... $ECHO_C" >&6 # Check whether --enable-underlines or --disable-underlines was given. @@ -38812,19 +38924,19 @@ else use_underline=no fi; -echo "$as_me:38815: result: $use_underline" >&5 +echo "$as_me:38927: result: $use_underline" >&5 echo "${ECHO_T}$use_underline" >&6 -test $use_underline = yes && +test "$use_underline" = yes && cat >>confdefs.h <<\EOF #define UNDERLINE_LINKS 1 EOF -test $use_underline = no && +test "$use_underline" = no && cat >>confdefs.h <<\EOF #define UNDERLINE_LINKS 0 EOF -echo "$as_me:38827: checking if help files should be gzip'ed" >&5 +echo "$as_me:38939: checking if help files should be gzip'ed" >&5 echo $ECHO_N "checking if help files should be gzip'ed... $ECHO_C" >&6 # Check whether --enable-gzip-help or --disable-gzip-help was given. @@ -38841,10 +38953,10 @@ else use_gzip_help=no fi; -echo "$as_me:38844: result: $use_gzip_help" >&5 +echo "$as_me:38956: result: $use_gzip_help" >&5 echo "${ECHO_T}$use_gzip_help" >&6 -echo "$as_me:38847: checking if you want to use libbz2 for decompression of some bzip2 files" >&5 +echo "$as_me:38959: checking if you want to use libbz2 for decompression of some bzip2 files" >&5 echo $ECHO_N "checking if you want to use libbz2 for decompression of some bzip2 files... $ECHO_C" >&6 # Check whether --with-bzlib or --without-bzlib was given. @@ -38854,7 +38966,7 @@ if test "${with_bzlib+set}" = set; then else use_bzlib=no fi; -echo "$as_me:38857: result: $use_bzlib" >&5 +echo "$as_me:38969: result: $use_bzlib" >&5 echo "${ECHO_T}$use_bzlib" >&6 if test ".$use_bzlib" != ".no" ; then @@ -38867,14 +38979,14 @@ case "$use_bzlib" in (*) for cf_searchpath in `echo "$use_bzlib" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -38895,8 +39007,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 38899 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 39011 "configure" #include "confdefs.h" #include <stdio.h> int @@ -38907,25 +39019,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:38911: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:39023: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:38914: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:38917: \"$ac_try\"") >&5 + echo "$as_me:39026: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:39029: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:38920: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39032: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -38934,11 +39046,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:38937: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:39049: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -38951,14 +39063,14 @@ echo "${as_me:-configure}:38937: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -38979,8 +39091,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 38983 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 39095 "configure" #include "confdefs.h" #include <stdio.h> int @@ -38991,25 +39103,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:38995: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:39107: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:38998: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:39001: \"$ac_try\"") >&5 + echo "$as_me:39110: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:39113: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39004: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39116: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -39018,11 +39130,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:39021: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:39133: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -39036,18 +39148,18 @@ echo "${as_me:-configure}:39021: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:39039: error: cannot find under $use_bzlib" >&5 +{ { echo "$as_me:39151: error: cannot find under $use_bzlib" >&5 echo "$as_me: error: cannot find under $use_bzlib" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -39061,7 +39173,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:39064: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:39176: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -39069,14 +39181,14 @@ echo "${as_me:-configure}:39064: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -39090,7 +39202,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:39093: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:39205: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -39099,7 +39211,7 @@ echo "${as_me:-configure}:39093: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:39102: error: cannot find under $use_bzlib" >&5 +{ { echo "$as_me:39214: error: cannot find under $use_bzlib" >&5 echo "$as_me: error: cannot find under $use_bzlib" >&2;} { (exit 1); exit 1; }; } fi @@ -39113,12 +39225,12 @@ esac cf_cv_header_path_bz2= cf_cv_library_path_bz2= -echo "${as_me:-configure}:39116: testing Starting FIND_LINKAGE(bz2,bzlib) ..." 1>&5 +echo "${as_me:-configure}:39228: testing Starting FIND_LINKAGE(bz2,bzlib) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 39121 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 39233 "configure" #include "confdefs.h" #include <stdio.h> @@ -39134,18 +39246,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:39138: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:39250: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:39141: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:39144: \"$ac_try\"") >&5 + echo "$as_me:39253: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:39256: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39147: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39259: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_bz2=yes cf_cv_header_path_bz2=/usr/include @@ -39153,12 +39265,12 @@ if { (eval echo "$as_me:39138: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lbz2 $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 39161 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 39273 "configure" #include "confdefs.h" #include <stdio.h> @@ -39174,18 +39286,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:39178: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:39290: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:39181: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:39184: \"$ac_try\"") >&5 + echo "$as_me:39293: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:39296: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39187: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39299: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_bz2=yes cf_cv_header_path_bz2=/usr/include @@ -39194,16 +39306,16 @@ if { (eval echo "$as_me:39178: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_bz2=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for bz2 library" 1>&6 -echo "${as_me:-configure}:39204: testing find linkage for bz2 library ..." 1>&5 +echo "${as_me:-configure}:39316: testing find linkage for bz2 library ..." 1>&5 -echo "${as_me:-configure}:39206: testing Searching for headers in FIND_LINKAGE(bz2,bzlib) ..." 1>&5 +echo "${as_me:-configure}:39318: testing Searching for headers in FIND_LINKAGE(bz2,bzlib) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -39215,7 +39327,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -39223,11 +39335,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/bzlib && cf_search="$cf_search $cf_header_path/include/bzlib" - test -d $cf_header_path/include/bzlib/include && cf_search="$cf_search $cf_header_path/include/bzlib/include" - test -d $cf_header_path/bzlib/include && cf_search="$cf_search $cf_header_path/bzlib/include" - test -d $cf_header_path/bzlib/include/bzlib && cf_search="$cf_search $cf_header_path/bzlib/include/bzlib" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/bzlib" && cf_search="$cf_search $cf_header_path/include/bzlib" + test -d "$cf_header_path/include/bzlib/include" && cf_search="$cf_search $cf_header_path/include/bzlib/include" + test -d "$cf_header_path/bzlib/include" && cf_search="$cf_search $cf_header_path/bzlib/include" + test -d "$cf_header_path/bzlib/include/bzlib" && cf_search="$cf_search $cf_header_path/bzlib/include/bzlib" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -39244,11 +39356,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/bzlib && cf_search="$cf_search $prefix/include/bzlib" - test -d $prefix/include/bzlib/include && cf_search="$cf_search $prefix/include/bzlib/include" - test -d $prefix/bzlib/include && cf_search="$cf_search $prefix/bzlib/include" - test -d $prefix/bzlib/include/bzlib && cf_search="$cf_search $prefix/bzlib/include/bzlib" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/bzlib" && cf_search="$cf_search $prefix/include/bzlib" + test -d "$prefix/include/bzlib/include" && cf_search="$cf_search $prefix/include/bzlib/include" + test -d "$prefix/bzlib/include" && cf_search="$cf_search $prefix/bzlib/include" + test -d "$prefix/bzlib/include/bzlib" && cf_search="$cf_search $prefix/bzlib/include/bzlib" } for cf_subdir_prefix in \ @@ -39262,13 +39374,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/bzlib && cf_search="$cf_search $cf_subdir_prefix/include/bzlib" - test -d $cf_subdir_prefix/include/bzlib/include && cf_search="$cf_search $cf_subdir_prefix/include/bzlib/include" - test -d $cf_subdir_prefix/bzlib/include && cf_search="$cf_search $cf_subdir_prefix/bzlib/include" - test -d $cf_subdir_prefix/bzlib/include/bzlib && cf_search="$cf_search $cf_subdir_prefix/bzlib/include/bzlib" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/bzlib" && cf_search="$cf_search $cf_subdir_prefix/include/bzlib" + test -d "$cf_subdir_prefix/include/bzlib/include" && cf_search="$cf_search $cf_subdir_prefix/include/bzlib/include" + test -d "$cf_subdir_prefix/bzlib/include" && cf_search="$cf_search $cf_subdir_prefix/bzlib/include" + test -d "$cf_subdir_prefix/bzlib/include/bzlib" && cf_search="$cf_search $cf_subdir_prefix/bzlib/include/bzlib" } done @@ -39276,33 +39388,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/bzlib && cf_search="$cf_search $includedir/bzlib" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/bzlib" && cf_search="$cf_search $includedir/bzlib" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/bzlib && cf_search="$cf_search $oldincludedir/bzlib" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/bzlib" && cf_search="$cf_search $oldincludedir/bzlib" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_bz2 in $cf_search do - if test -d $cf_cv_header_path_bz2 ; then + if test -d "$cf_cv_header_path_bz2" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_bz2" 1>&6 -echo "${as_me:-configure}:39297: testing ... testing $cf_cv_header_path_bz2 ..." 1>&5 +echo "${as_me:-configure}:39409: testing ... testing $cf_cv_header_path_bz2 ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_bz2" - cat >conftest.$ac_ext <<_ACEOF -#line 39305 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 39417 "configure" #include "confdefs.h" #include <stdio.h> @@ -39318,48 +39430,48 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:39322: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:39434: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:39325: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:39328: \"$ac_try\"") >&5 + echo "$as_me:39437: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:39440: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39331: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39443: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found bz2 headers in $cf_cv_header_path_bz2" 1>&6 -echo "${as_me:-configure}:39336: testing ... found bz2 headers in $cf_cv_header_path_bz2 ..." 1>&5 +echo "${as_me:-configure}:39448: testing ... found bz2 headers in $cf_cv_header_path_bz2 ..." 1>&5 cf_cv_find_linkage_bz2=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_bz2" = maybe ; then -echo "${as_me:-configure}:39354: testing Searching for bz2 library in FIND_LINKAGE(bz2,bzlib) ..." 1>&5 +echo "${as_me:-configure}:39466: testing Searching for bz2 library in FIND_LINKAGE(bz2,bzlib) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lbz2 $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 39362 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 39474 "configure" #include "confdefs.h" #include <stdio.h> @@ -39375,29 +39487,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:39379: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:39491: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:39382: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:39385: \"$ac_try\"") >&5 + echo "$as_me:39494: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:39497: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39388: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39500: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found bz2 library in system" 1>&6 -echo "${as_me:-configure}:39393: testing ... found bz2 library in system ..." 1>&5 +echo "${as_me:-configure}:39505: testing ... found bz2 library in system ..." 1>&5 cf_cv_find_linkage_bz2=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" @@ -39408,7 +39520,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -39416,11 +39528,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/bz2 && cf_search="$cf_search $cf_library_path/lib/bz2" - test -d $cf_library_path/lib/bz2/lib && cf_search="$cf_search $cf_library_path/lib/bz2/lib" - test -d $cf_library_path/bz2/lib && cf_search="$cf_search $cf_library_path/bz2/lib" - test -d $cf_library_path/bz2/lib/bz2 && cf_search="$cf_search $cf_library_path/bz2/lib/bz2" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/bz2" && cf_search="$cf_search $cf_library_path/lib/bz2" + test -d "$cf_library_path/lib/bz2/lib" && cf_search="$cf_search $cf_library_path/lib/bz2/lib" + test -d "$cf_library_path/bz2/lib" && cf_search="$cf_search $cf_library_path/bz2/lib" + test -d "$cf_library_path/bz2/lib/bz2" && cf_search="$cf_search $cf_library_path/bz2/lib/bz2" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -39435,11 +39547,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/bz2 && cf_search="$cf_search $prefix/lib/bz2" - test -d $prefix/lib/bz2/lib && cf_search="$cf_search $prefix/lib/bz2/lib" - test -d $prefix/bz2/lib && cf_search="$cf_search $prefix/bz2/lib" - test -d $prefix/bz2/lib/bz2 && cf_search="$cf_search $prefix/bz2/lib/bz2" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/bz2" && cf_search="$cf_search $prefix/lib/bz2" + test -d "$prefix/lib/bz2/lib" && cf_search="$cf_search $prefix/lib/bz2/lib" + test -d "$prefix/bz2/lib" && cf_search="$cf_search $prefix/bz2/lib" + test -d "$prefix/bz2/lib/bz2" && cf_search="$cf_search $prefix/bz2/lib/bz2" } for cf_subdir_prefix in \ @@ -39453,13 +39565,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/bz2 && cf_search="$cf_search $cf_subdir_prefix/lib/bz2" - test -d $cf_subdir_prefix/lib/bz2/lib && cf_search="$cf_search $cf_subdir_prefix/lib/bz2/lib" - test -d $cf_subdir_prefix/bz2/lib && cf_search="$cf_search $cf_subdir_prefix/bz2/lib" - test -d $cf_subdir_prefix/bz2/lib/bz2 && cf_search="$cf_search $cf_subdir_prefix/bz2/lib/bz2" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/bz2" && cf_search="$cf_search $cf_subdir_prefix/lib/bz2" + test -d "$cf_subdir_prefix/lib/bz2/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/bz2/lib" + test -d "$cf_subdir_prefix/bz2/lib" && cf_search="$cf_search $cf_subdir_prefix/bz2/lib" + test -d "$cf_subdir_prefix/bz2/lib/bz2" && cf_search="$cf_search $cf_subdir_prefix/bz2/lib/bz2" } done @@ -39468,16 +39580,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_bz2 in $cf_search do - if test -d $cf_cv_library_path_bz2 ; then + if test -d "$cf_cv_library_path_bz2" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_bz2" 1>&6 -echo "${as_me:-configure}:39474: testing ... testing $cf_cv_library_path_bz2 ..." 1>&5 +echo "${as_me:-configure}:39586: testing ... testing $cf_cv_library_path_bz2 ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lbz2 $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_bz2" - cat >conftest.$ac_ext <<_ACEOF -#line 39480 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 39592 "configure" #include "confdefs.h" #include <stdio.h> @@ -39493,36 +39605,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:39497: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:39609: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:39500: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:39503: \"$ac_try\"") >&5 + echo "$as_me:39612: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:39615: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39506: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39618: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found bz2 library in $cf_cv_library_path_bz2" 1>&6 -echo "${as_me:-configure}:39511: testing ... found bz2 library in $cf_cv_library_path_bz2 ..." 1>&5 +echo "${as_me:-configure}:39623: testing ... found bz2 library in $cf_cv_library_path_bz2 ..." 1>&5 cf_cv_find_linkage_bz2=yes cf_cv_library_file_bz2="-lbz2" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -39534,10 +39646,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -39546,9 +39658,9 @@ if test "$cf_cv_find_linkage_bz2" = yes ; then if test -n "$cf_cv_header_path_bz2" ; then for cf_add_incdir in $cf_cv_header_path_bz2 do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -39569,8 +39681,8 @@ if test -n "$cf_cv_header_path_bz2" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 39573 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 39685 "configure" #include "confdefs.h" #include <stdio.h> int @@ -39581,25 +39693,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:39585: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:39697: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:39588: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:39591: \"$ac_try\"") >&5 + echo "$as_me:39700: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:39703: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39594: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39706: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -39608,11 +39720,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:39611: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:39723: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -39628,9 +39740,9 @@ fi if test -n "$cf_cv_library_path_bz2" ; then for cf_add_libdir in $cf_cv_library_path_bz2 do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -39644,7 +39756,7 @@ if test -n "$cf_cv_library_path_bz2" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:39647: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:39759: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -39669,7 +39781,7 @@ done LIBS="$cf_add_libs" else -{ echo "$as_me:39672: WARNING: Cannot find bz2 library" >&5 +{ echo "$as_me:39784: WARNING: Cannot find bz2 library" >&5 echo "$as_me: WARNING: Cannot find bz2 library" >&2;} fi @@ -39680,7 +39792,7 @@ EOF fi -echo "$as_me:39683: checking if you want to use zlib for decompression of some gzip files" >&5 +echo "$as_me:39795: checking if you want to use zlib for decompression of some gzip files" >&5 echo $ECHO_N "checking if you want to use zlib for decompression of some gzip files... $ECHO_C" >&6 # Check whether --with-zlib or --without-zlib was given. @@ -39690,7 +39802,7 @@ if test "${with_zlib+set}" = set; then else use_zlib=no fi; -echo "$as_me:39693: result: $use_zlib" >&5 +echo "$as_me:39805: result: $use_zlib" >&5 echo "${ECHO_T}$use_zlib" >&6 if test ".$use_zlib" != ".no" ; then @@ -39703,14 +39815,14 @@ case "$use_zlib" in (*) for cf_searchpath in `echo "$use_zlib" | tr $PATH_SEPARATOR ' '`; do - if test -d $cf_searchpath/include; then + if test -d "$cf_searchpath/include" ; then if test -n "$cf_searchpath/include" ; then for cf_add_incdir in $cf_searchpath/include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -39731,8 +39843,8 @@ if test -n "$cf_searchpath/include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 39735 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 39847 "configure" #include "confdefs.h" #include <stdio.h> int @@ -39743,25 +39855,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:39747: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:39859: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:39750: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:39753: \"$ac_try\"") >&5 + echo "$as_me:39862: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:39865: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39756: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39868: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -39770,11 +39882,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:39773: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:39885: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -39787,14 +39899,14 @@ echo "${as_me:-configure}:39773: testing adding $cf_add_incdir to include-path . done fi - elif test -d $cf_searchpath/../include ; then + elif test -d "$cf_searchpath/../include" ; then if test -n "$cf_searchpath/../include" ; then for cf_add_incdir in $cf_searchpath/../include do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -39815,8 +39927,8 @@ if test -n "$cf_searchpath/../include" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 39819 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 39931 "configure" #include "confdefs.h" #include <stdio.h> int @@ -39827,25 +39939,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:39831: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:39943: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:39834: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:39837: \"$ac_try\"") >&5 + echo "$as_me:39946: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:39949: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39840: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:39952: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -39854,11 +39966,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:39857: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:39969: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -39872,18 +39984,18 @@ echo "${as_me:-configure}:39857: testing adding $cf_add_incdir to include-path . fi else -{ { echo "$as_me:39875: error: cannot find under $use_zlib" >&5 +{ { echo "$as_me:39987: error: cannot find under $use_zlib" >&5 echo "$as_me: error: cannot find under $use_zlib" >&2;} { (exit 1); exit 1; }; } fi - if test -d $cf_searchpath/lib; then + if test -d "$cf_searchpath/lib" ; then if test -n "$cf_searchpath/lib" ; then for cf_add_libdir in $cf_searchpath/lib do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -39897,7 +40009,7 @@ if test -n "$cf_searchpath/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:39900: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:40012: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -39905,14 +40017,14 @@ echo "${as_me:-configure}:39900: testing adding $cf_add_libdir to library-path . done fi - elif test -d $cf_searchpath ; then + elif test -d "$cf_searchpath" ; then if test -n "$cf_searchpath" ; then for cf_add_libdir in $cf_searchpath do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -39926,7 +40038,7 @@ if test -n "$cf_searchpath" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:39929: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:40041: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -39935,7 +40047,7 @@ echo "${as_me:-configure}:39929: testing adding $cf_add_libdir to library-path . fi else -{ { echo "$as_me:39938: error: cannot find under $use_zlib" >&5 +{ { echo "$as_me:40050: error: cannot find under $use_zlib" >&5 echo "$as_me: error: cannot find under $use_zlib" >&2;} { (exit 1); exit 1; }; } fi @@ -39949,12 +40061,12 @@ esac cf_cv_header_path_z= cf_cv_library_path_z= -echo "${as_me:-configure}:39952: testing Starting FIND_LINKAGE(z,zlib) ..." 1>&5 +echo "${as_me:-configure}:40064: testing Starting FIND_LINKAGE(z,zlib) ..." 1>&5 cf_save_LIBS="$LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 39957 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 40069 "configure" #include "confdefs.h" #include <zlib.h> @@ -39969,18 +40081,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:39973: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:40085: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:39976: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:39979: \"$ac_try\"") >&5 + echo "$as_me:40088: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:40091: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:39982: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40094: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_z=yes cf_cv_header_path_z=/usr/include @@ -39988,12 +40100,12 @@ if { (eval echo "$as_me:39973: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 LIBS="-lz $cf_save_LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 39996 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 40108 "configure" #include "confdefs.h" #include <zlib.h> @@ -40008,18 +40120,18 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:40012: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:40124: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:40015: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:40018: \"$ac_try\"") >&5 + echo "$as_me:40127: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:40130: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:40021: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40133: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_find_linkage_z=yes cf_cv_header_path_z=/usr/include @@ -40028,16 +40140,16 @@ if { (eval echo "$as_me:40012: \"$ac_link\"") >&5 else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_find_linkage_z=no LIBS="$cf_save_LIBS" test -n "$verbose" && echo " find linkage for z library" 1>&6 -echo "${as_me:-configure}:40038: testing find linkage for z library ..." 1>&5 +echo "${as_me:-configure}:40150: testing find linkage for z library ..." 1>&5 -echo "${as_me:-configure}:40040: testing Searching for headers in FIND_LINKAGE(z,zlib) ..." 1>&5 +echo "${as_me:-configure}:40152: testing Searching for headers in FIND_LINKAGE(z,zlib) ..." 1>&5 cf_save_CPPFLAGS="$CPPFLAGS" cf_test_CPPFLAGS="$CPPFLAGS" @@ -40049,7 +40161,7 @@ cf_header_path_list="" if test -n "${CFLAGS}${CPPFLAGS}" ; then for cf_header_path in $CPPFLAGS $CFLAGS do - case $cf_header_path in + case "$cf_header_path" in (-I*) cf_header_path=`echo ".$cf_header_path" |sed -e 's/^...//' -e 's,/include$,,'` @@ -40057,11 +40169,11 @@ test "x$cf_header_path" != "xNONE" && \ test -d "$cf_header_path" && \ { test -n "$verbose" && echo " ... testing for include-directories under $cf_header_path" - test -d $cf_header_path/include && cf_search="$cf_search $cf_header_path/include" - test -d $cf_header_path/include/zlib && cf_search="$cf_search $cf_header_path/include/zlib" - test -d $cf_header_path/include/zlib/include && cf_search="$cf_search $cf_header_path/include/zlib/include" - test -d $cf_header_path/zlib/include && cf_search="$cf_search $cf_header_path/zlib/include" - test -d $cf_header_path/zlib/include/zlib && cf_search="$cf_search $cf_header_path/zlib/include/zlib" + test -d "$cf_header_path/include" && cf_search="$cf_search $cf_header_path/include" + test -d "$cf_header_path/include/zlib" && cf_search="$cf_search $cf_header_path/include/zlib" + test -d "$cf_header_path/include/zlib/include" && cf_search="$cf_search $cf_header_path/include/zlib/include" + test -d "$cf_header_path/zlib/include" && cf_search="$cf_search $cf_header_path/zlib/include" + test -d "$cf_header_path/zlib/include/zlib" && cf_search="$cf_search $cf_header_path/zlib/include/zlib" } cf_header_path_list="$cf_header_path_list $cf_search" @@ -40078,11 +40190,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for include-directories under $prefix" - test -d $prefix/include && cf_search="$cf_search $prefix/include" - test -d $prefix/include/zlib && cf_search="$cf_search $prefix/include/zlib" - test -d $prefix/include/zlib/include && cf_search="$cf_search $prefix/include/zlib/include" - test -d $prefix/zlib/include && cf_search="$cf_search $prefix/zlib/include" - test -d $prefix/zlib/include/zlib && cf_search="$cf_search $prefix/zlib/include/zlib" + test -d "$prefix/include" && cf_search="$cf_search $prefix/include" + test -d "$prefix/include/zlib" && cf_search="$cf_search $prefix/include/zlib" + test -d "$prefix/include/zlib/include" && cf_search="$cf_search $prefix/include/zlib/include" + test -d "$prefix/zlib/include" && cf_search="$cf_search $prefix/zlib/include" + test -d "$prefix/zlib/include/zlib" && cf_search="$cf_search $prefix/zlib/include/zlib" } for cf_subdir_prefix in \ @@ -40096,13 +40208,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for include-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/include && cf_search="$cf_search $cf_subdir_prefix/include" - test -d $cf_subdir_prefix/include/zlib && cf_search="$cf_search $cf_subdir_prefix/include/zlib" - test -d $cf_subdir_prefix/include/zlib/include && cf_search="$cf_search $cf_subdir_prefix/include/zlib/include" - test -d $cf_subdir_prefix/zlib/include && cf_search="$cf_search $cf_subdir_prefix/zlib/include" - test -d $cf_subdir_prefix/zlib/include/zlib && cf_search="$cf_search $cf_subdir_prefix/zlib/include/zlib" + test -d "$cf_subdir_prefix/include" && cf_search="$cf_search $cf_subdir_prefix/include" + test -d "$cf_subdir_prefix/include/zlib" && cf_search="$cf_search $cf_subdir_prefix/include/zlib" + test -d "$cf_subdir_prefix/include/zlib/include" && cf_search="$cf_search $cf_subdir_prefix/include/zlib/include" + test -d "$cf_subdir_prefix/zlib/include" && cf_search="$cf_search $cf_subdir_prefix/zlib/include" + test -d "$cf_subdir_prefix/zlib/include/zlib" && cf_search="$cf_search $cf_subdir_prefix/zlib/include/zlib" } done @@ -40110,33 +40222,33 @@ done test "$includedir" != NONE && \ test "$includedir" != "/usr/include" && \ test -d "$includedir" && { - test -d $includedir && cf_search="$cf_search $includedir" - test -d $includedir/zlib && cf_search="$cf_search $includedir/zlib" + test -d "$includedir" && cf_search="$cf_search $includedir" + test -d "$includedir/zlib" && cf_search="$cf_search $includedir/zlib" } test "$oldincludedir" != NONE && \ test "$oldincludedir" != "/usr/include" && \ test -d "$oldincludedir" && { - test -d $oldincludedir && cf_search="$cf_search $oldincludedir" - test -d $oldincludedir/zlib && cf_search="$cf_search $oldincludedir/zlib" + test -d "$oldincludedir" && cf_search="$cf_search $oldincludedir" + test -d "$oldincludedir/zlib" && cf_search="$cf_search $oldincludedir/zlib" } cf_search="$cf_search $cf_header_path_list" for cf_cv_header_path_z in $cf_search do - if test -d $cf_cv_header_path_z ; then + if test -d "$cf_cv_header_path_z" ; then test -n "$verbose" && echo " ... testing $cf_cv_header_path_z" 1>&6 -echo "${as_me:-configure}:40131: testing ... testing $cf_cv_header_path_z ..." 1>&5 +echo "${as_me:-configure}:40243: testing ... testing $cf_cv_header_path_z ..." 1>&5 CPPFLAGS="$cf_save_CPPFLAGS" test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_z" - cat >conftest.$ac_ext <<_ACEOF -#line 40139 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 40251 "configure" #include "confdefs.h" #include <zlib.h> @@ -40151,48 +40263,48 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:40155: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:40267: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:40158: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:40161: \"$ac_try\"") >&5 + echo "$as_me:40270: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:40273: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:40164: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40276: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found z headers in $cf_cv_header_path_z" 1>&6 -echo "${as_me:-configure}:40169: testing ... found z headers in $cf_cv_header_path_z ..." 1>&5 +echo "${as_me:-configure}:40281: testing ... found z headers in $cf_cv_header_path_z ..." 1>&5 cf_cv_find_linkage_z=maybe cf_test_CPPFLAGS="$CPPFLAGS" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi done if test "$cf_cv_find_linkage_z" = maybe ; then -echo "${as_me:-configure}:40187: testing Searching for z library in FIND_LINKAGE(z,zlib) ..." 1>&5 +echo "${as_me:-configure}:40299: testing Searching for z library in FIND_LINKAGE(z,zlib) ..." 1>&5 cf_save_LIBS="$LIBS" cf_save_LDFLAGS="$LDFLAGS" CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lz $cf_save_LIBS" - cat >conftest.$ac_ext <<_ACEOF -#line 40195 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 40307 "configure" #include "confdefs.h" #include <zlib.h> @@ -40207,29 +40319,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:40211: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:40323: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:40214: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:40217: \"$ac_try\"") >&5 + echo "$as_me:40326: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:40329: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:40220: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40332: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found z library in system" 1>&6 -echo "${as_me:-configure}:40225: testing ... found z library in system ..." 1>&5 +echo "${as_me:-configure}:40337: testing ... found z library in system ..." 1>&5 cf_cv_find_linkage_z=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" @@ -40240,7 +40352,7 @@ cf_library_path_list="" if test -n "${LDFLAGS}${LIBS}" ; then for cf_library_path in $LDFLAGS $LIBS do - case $cf_library_path in + case "$cf_library_path" in (-L*) cf_library_path=`echo ".$cf_library_path" |sed -e 's/^...//' -e 's,/lib$,,'` @@ -40248,11 +40360,11 @@ test "x$cf_library_path" != "xNONE" && \ test -d "$cf_library_path" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $cf_library_path" - test -d $cf_library_path/lib && cf_search="$cf_search $cf_library_path/lib" - test -d $cf_library_path/lib/z && cf_search="$cf_search $cf_library_path/lib/z" - test -d $cf_library_path/lib/z/lib && cf_search="$cf_search $cf_library_path/lib/z/lib" - test -d $cf_library_path/z/lib && cf_search="$cf_search $cf_library_path/z/lib" - test -d $cf_library_path/z/lib/z && cf_search="$cf_search $cf_library_path/z/lib/z" + test -d "$cf_library_path/lib" && cf_search="$cf_search $cf_library_path/lib" + test -d "$cf_library_path/lib/z" && cf_search="$cf_search $cf_library_path/lib/z" + test -d "$cf_library_path/lib/z/lib" && cf_search="$cf_search $cf_library_path/lib/z/lib" + test -d "$cf_library_path/z/lib" && cf_search="$cf_search $cf_library_path/z/lib" + test -d "$cf_library_path/z/lib/z" && cf_search="$cf_search $cf_library_path/z/lib/z" } cf_library_path_list="$cf_library_path_list $cf_search" @@ -40267,11 +40379,11 @@ test "x$prefix" != "xNONE" && \ test -d "$prefix" && \ { test -n "$verbose" && echo " ... testing for lib-directories under $prefix" - test -d $prefix/lib && cf_search="$cf_search $prefix/lib" - test -d $prefix/lib/z && cf_search="$cf_search $prefix/lib/z" - test -d $prefix/lib/z/lib && cf_search="$cf_search $prefix/lib/z/lib" - test -d $prefix/z/lib && cf_search="$cf_search $prefix/z/lib" - test -d $prefix/z/lib/z && cf_search="$cf_search $prefix/z/lib/z" + test -d "$prefix/lib" && cf_search="$cf_search $prefix/lib" + test -d "$prefix/lib/z" && cf_search="$cf_search $prefix/lib/z" + test -d "$prefix/lib/z/lib" && cf_search="$cf_search $prefix/lib/z/lib" + test -d "$prefix/z/lib" && cf_search="$cf_search $prefix/z/lib" + test -d "$prefix/z/lib/z" && cf_search="$cf_search $prefix/z/lib/z" } for cf_subdir_prefix in \ @@ -40285,13 +40397,13 @@ do test "x$cf_subdir_prefix" != "x$prefix" && \ test -d "$cf_subdir_prefix" && \ -(test -z "$prefix" || test x$prefix = xNONE || test "x$cf_subdir_prefix" != "x$prefix") && { +{ test -z "$prefix" || test "x$prefix" = xNONE || test "x$cf_subdir_prefix" != "x$prefix"; } && { test -n "$verbose" && echo " ... testing for lib-directories under $cf_subdir_prefix" - test -d $cf_subdir_prefix/lib && cf_search="$cf_search $cf_subdir_prefix/lib" - test -d $cf_subdir_prefix/lib/z && cf_search="$cf_search $cf_subdir_prefix/lib/z" - test -d $cf_subdir_prefix/lib/z/lib && cf_search="$cf_search $cf_subdir_prefix/lib/z/lib" - test -d $cf_subdir_prefix/z/lib && cf_search="$cf_search $cf_subdir_prefix/z/lib" - test -d $cf_subdir_prefix/z/lib/z && cf_search="$cf_search $cf_subdir_prefix/z/lib/z" + test -d "$cf_subdir_prefix/lib" && cf_search="$cf_search $cf_subdir_prefix/lib" + test -d "$cf_subdir_prefix/lib/z" && cf_search="$cf_search $cf_subdir_prefix/lib/z" + test -d "$cf_subdir_prefix/lib/z/lib" && cf_search="$cf_search $cf_subdir_prefix/lib/z/lib" + test -d "$cf_subdir_prefix/z/lib" && cf_search="$cf_search $cf_subdir_prefix/z/lib" + test -d "$cf_subdir_prefix/z/lib/z" && cf_search="$cf_search $cf_subdir_prefix/z/lib/z" } done @@ -40300,16 +40412,16 @@ cf_search="$cf_library_path_list $cf_search" for cf_cv_library_path_z in $cf_search do - if test -d $cf_cv_library_path_z ; then + if test -d "$cf_cv_library_path_z" ; then test -n "$verbose" && echo " ... testing $cf_cv_library_path_z" 1>&6 -echo "${as_me:-configure}:40306: testing ... testing $cf_cv_library_path_z ..." 1>&5 +echo "${as_me:-configure}:40418: testing ... testing $cf_cv_library_path_z ..." 1>&5 CPPFLAGS="$cf_test_CPPFLAGS" LIBS="-lz $cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_z" - cat >conftest.$ac_ext <<_ACEOF -#line 40312 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 40424 "configure" #include "confdefs.h" #include <zlib.h> @@ -40324,36 +40436,36 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:40328: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:40440: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:40331: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:40334: \"$ac_try\"") >&5 + echo "$as_me:40443: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:40446: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:40337: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40449: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then test -n "$verbose" && echo " ... found z library in $cf_cv_library_path_z" 1>&6 -echo "${as_me:-configure}:40342: testing ... found z library in $cf_cv_library_path_z ..." 1>&5 +echo "${as_me:-configure}:40454: testing ... found z library in $cf_cv_library_path_z ..." 1>&5 cf_cv_find_linkage_z=yes cf_cv_library_file_z="-lz" break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 CPPFLAGS="$cf_save_CPPFLAGS" LIBS="$cf_save_LIBS" LDFLAGS="$cf_save_LDFLAGS" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi done CPPFLAGS="$cf_save_CPPFLAGS" @@ -40365,10 +40477,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" @@ -40377,9 +40489,9 @@ if test "$cf_cv_find_linkage_z" = yes ; then if test -n "$cf_cv_header_path_z" ; then for cf_add_incdir in $cf_cv_header_path_z do - while test $cf_add_incdir != /usr/include + while test "$cf_add_incdir" != /usr/include do - if test -d $cf_add_incdir + if test -d "$cf_add_incdir" then cf_have_incdir=no if test -n "$CFLAGS$CPPFLAGS" ; then @@ -40400,8 +40512,8 @@ if test -n "$cf_cv_header_path_z" ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" - cat >conftest.$ac_ext <<_ACEOF -#line 40404 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 40516 "configure" #include "confdefs.h" #include <stdio.h> int @@ -40412,25 +40524,25 @@ printf("Hello") return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:40416: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:40528: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:40419: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:40422: \"$ac_try\"") >&5 + echo "$as_me:40531: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:40534: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:40425: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40537: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_have_incdir=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS=$cf_save_CPPFLAGS fi fi @@ -40439,11 +40551,11 @@ rm -f conftest.$ac_objext conftest.$ac_ext if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:40442: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:40554: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" - cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'` + cf_top_incdir=`echo "$cf_add_incdir" | sed -e 's%/include/.*$%/include%'` test "$cf_top_incdir" = "$cf_add_incdir" && break cf_add_incdir="$cf_top_incdir" else @@ -40459,9 +40571,9 @@ fi if test -n "$cf_cv_library_path_z" ; then for cf_add_libdir in $cf_cv_library_path_z do - if test $cf_add_libdir = /usr/lib ; then + if test "$cf_add_libdir" = /usr/lib ; then : - elif test -d $cf_add_libdir + elif test -d "$cf_add_libdir" then cf_have_libdir=no if test -n "$LDFLAGS$LIBS" ; then @@ -40475,7 +40587,7 @@ if test -n "$cf_cv_library_path_z" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:40478: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:40590: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -40500,7 +40612,7 @@ done LIBS="$cf_add_libs" else -{ echo "$as_me:40503: WARNING: Cannot find z library" >&5 +{ echo "$as_me:40615: WARNING: Cannot find z library" >&5 echo "$as_me: WARNING: Cannot find z library" >&2;} fi @@ -40509,13 +40621,13 @@ for ac_func in \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:40512: checking for $ac_func" >&5 +echo "$as_me:40624: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 40518 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 40630 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -40545,29 +40657,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:40549: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:40661: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:40552: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:40555: \"$ac_try\"") >&5 + echo "$as_me:40664: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:40667: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:40558: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40670: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:40568: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:40680: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -40582,7 +40694,7 @@ EOF fi -echo "$as_me:40585: checking if you want to exclude FINGER code" >&5 +echo "$as_me:40697: checking if you want to exclude FINGER code" >&5 echo $ECHO_N "checking if you want to exclude FINGER code... $ECHO_C" >&6 # Check whether --enable-finger or --disable-finger was given. @@ -40599,14 +40711,14 @@ else use_finger=no fi; -echo "$as_me:40602: result: $use_finger" >&5 +echo "$as_me:40714: result: $use_finger" >&5 echo "${ECHO_T}$use_finger" >&6 -test $use_finger != "no" && +test "$use_finger" != "no" && cat >>confdefs.h <<\EOF #define DISABLE_FINGER 1 EOF -echo "$as_me:40609: checking if you want to exclude GOPHER code" >&5 +echo "$as_me:40721: checking if you want to exclude GOPHER code" >&5 echo $ECHO_N "checking if you want to exclude GOPHER code... $ECHO_C" >&6 # Check whether --enable-gopher or --disable-gopher was given. @@ -40623,14 +40735,14 @@ else use_gopher=no fi; -echo "$as_me:40626: result: $use_gopher" >&5 +echo "$as_me:40738: result: $use_gopher" >&5 echo "${ECHO_T}$use_gopher" >&6 -test $use_gopher != "no" && +test "$use_gopher" != "no" && cat >>confdefs.h <<\EOF #define DISABLE_GOPHER 1 EOF -echo "$as_me:40633: checking if you want to exclude NEWS code" >&5 +echo "$as_me:40745: checking if you want to exclude NEWS code" >&5 echo $ECHO_N "checking if you want to exclude NEWS code... $ECHO_C" >&6 # Check whether --enable-news or --disable-news was given. @@ -40647,14 +40759,14 @@ else use_news=no fi; -echo "$as_me:40650: result: $use_news" >&5 +echo "$as_me:40762: result: $use_news" >&5 echo "${ECHO_T}$use_news" >&6 -test $use_news != "no" && +test "$use_news" != "no" && cat >>confdefs.h <<\EOF #define DISABLE_NEWS 1 EOF -echo "$as_me:40657: checking if you want to exclude FTP code" >&5 +echo "$as_me:40769: checking if you want to exclude FTP code" >&5 echo $ECHO_N "checking if you want to exclude FTP code... $ECHO_C" >&6 # Check whether --enable-ftp or --disable-ftp was given. @@ -40671,14 +40783,14 @@ else use_ftp=no fi; -echo "$as_me:40674: result: $use_ftp" >&5 +echo "$as_me:40786: result: $use_ftp" >&5 echo "${ECHO_T}$use_ftp" >&6 -test $use_ftp != "no" && +test "$use_ftp" != "no" && cat >>confdefs.h <<\EOF #define DISABLE_FTP 1 EOF -echo "$as_me:40681: checking if you want to include WAIS code" >&5 +echo "$as_me:40793: checking if you want to include WAIS code" >&5 echo $ECHO_N "checking if you want to include WAIS code... $ECHO_C" >&6 # Check whether --enable-wais or --disable-wais was given. @@ -40695,21 +40807,21 @@ else use_wais=no fi; -echo "$as_me:40698: result: $use_wais" >&5 +echo "$as_me:40810: result: $use_wais" >&5 echo "${ECHO_T}$use_wais" >&6 MAKE_WAIS="#" -if test $use_wais != "no" +if test "$use_wais" != "no" then - echo "$as_me:40704: checking for fs_free in -lwais" >&5 + echo "$as_me:40816: checking for fs_free in -lwais" >&5 echo $ECHO_N "checking for fs_free in -lwais... $ECHO_C" >&6 if test "${ac_cv_lib_wais_fs_free+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lwais $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 40712 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 40824 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -40727,39 +40839,39 @@ fs_free (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:40731: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:40843: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:40734: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:40737: \"$ac_try\"") >&5 + echo "$as_me:40846: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:40849: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:40740: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40852: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_wais_fs_free=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_wais_fs_free=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:40751: result: $ac_cv_lib_wais_fs_free" >&5 +echo "$as_me:40863: result: $ac_cv_lib_wais_fs_free" >&5 echo "${ECHO_T}$ac_cv_lib_wais_fs_free" >&6 -if test $ac_cv_lib_wais_fs_free = yes; then +if test "$ac_cv_lib_wais_fs_free" = yes; then -echo "$as_me:40755: checking if -lm needed for math functions" >&5 +echo "$as_me:40867: checking if -lm needed for math functions" >&5 echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6 if test "${cf_cv_need_libm+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 40762 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 40874 "configure" #include "confdefs.h" #include <stdio.h> @@ -40769,32 +40881,32 @@ else int main (void) { -double x = rand(); printf("result = %g\n", sin(x)) +double x = rand(); printf("result = %g\\n", sin(x)) ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:40778: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:40890: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:40781: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:40784: \"$ac_try\"") >&5 + echo "$as_me:40893: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:40896: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:40787: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:40899: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_need_libm=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_need_libm=yes fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:40797: result: $cf_cv_need_libm" >&5 +echo "$as_me:40909: result: $cf_cv_need_libm" >&5 echo "${ECHO_T}$cf_cv_need_libm" >&6 if test "$cf_cv_need_libm" = yes then @@ -40836,24 +40948,24 @@ LIBS="$cf_add_libs" for ac_header in wais.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:40839: checking for $ac_header" >&5 +echo "$as_me:40951: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 40845 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 40957 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:40849: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:40961: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:40855: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:40967: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -40866,14 +40978,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:40874: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:40986: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -40884,7 +40996,7 @@ done MAKE_WAIS= else - { echo "$as_me:40887: WARNING: could not find WAIS library" >&5 + { echo "$as_me:40999: WARNING: could not find WAIS library" >&5 echo "$as_me: WARNING: could not find WAIS library" >&2;} fi @@ -40892,7 +41004,7 @@ fi # All DirEd functions that were enabled on compilation can be disabled # or modified at run time via DIRED_MENU symbols in lynx.cfg. -echo "$as_me:40895: checking if directory-editor code should be used" >&5 +echo "$as_me:41007: checking if directory-editor code should be used" >&5 echo $ECHO_N "checking if directory-editor code should be used... $ECHO_C" >&6 # Check whether --enable-dired or --disable-dired was given. @@ -40909,7 +41021,7 @@ else use_dired=yes fi; -echo "$as_me:40912: result: $use_dired" >&5 +echo "$as_me:41024: result: $use_dired" >&5 echo "${ECHO_T}$use_dired" >&6 if test ".$use_dired" != ".no" ; then @@ -40919,7 +41031,7 @@ cat >>confdefs.h <<\EOF #define DIRED_SUPPORT 1 EOF - echo "$as_me:40922: checking if you wish to allow extracting from archives via DirEd" >&5 + echo "$as_me:41034: checking if you wish to allow extracting from archives via DirEd" >&5 echo $ECHO_N "checking if you wish to allow extracting from archives via DirEd... $ECHO_C" >&6 # Check whether --enable-dired-dearchive or --disable-dired-dearchive was given. @@ -40936,10 +41048,10 @@ EOF else enableval=yes fi; - echo "$as_me:40939: result: $enableval" >&5 + echo "$as_me:41051: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 - echo "$as_me:40942: checking if DirEd mode should override keys" >&5 + echo "$as_me:41054: checking if DirEd mode should override keys" >&5 echo $ECHO_N "checking if DirEd mode should override keys... $ECHO_C" >&6 # Check whether --enable-dired-override or --disable-dired-override was given. @@ -40963,10 +41075,10 @@ cat >>confdefs.h <<\EOF EOF fi; - echo "$as_me:40966: result: $enableval" >&5 + echo "$as_me:41078: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 - echo "$as_me:40969: checking if you wish to allow permissions commands via DirEd" >&5 + echo "$as_me:41081: checking if you wish to allow permissions commands via DirEd" >&5 echo $ECHO_N "checking if you wish to allow permissions commands via DirEd... $ECHO_C" >&6 # Check whether --enable-dired-permit or --disable-dired-permit was given. @@ -40990,10 +41102,10 @@ cat >>confdefs.h <<\EOF EOF fi; - echo "$as_me:40993: result: $enableval" >&5 + echo "$as_me:41105: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 - echo "$as_me:40996: checking if you wish to allow executable-permission commands via DirEd" >&5 + echo "$as_me:41108: checking if you wish to allow executable-permission commands via DirEd" >&5 echo $ECHO_N "checking if you wish to allow executable-permission commands via DirEd... $ECHO_C" >&6 # Check whether --enable-dired-xpermit or --disable-dired-xpermit was given. @@ -41010,10 +41122,10 @@ EOF else enableval=yes fi; - echo "$as_me:41013: result: $enableval" >&5 + echo "$as_me:41125: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 - echo "$as_me:41016: checking if you wish to allow \"tar\" commands from DirEd" >&5 + echo "$as_me:41128: checking if you wish to allow \"tar\" commands from DirEd" >&5 echo $ECHO_N "checking if you wish to allow \"tar\" commands from DirEd... $ECHO_C" >&6 # Check whether --enable-dired-tar or --disable-dired-tar was given. @@ -41037,10 +41149,10 @@ cat >>confdefs.h <<\EOF EOF fi; - echo "$as_me:41040: result: $enableval" >&5 + echo "$as_me:41152: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 - echo "$as_me:41043: checking if you wish to allow \"uudecode\" commands from DirEd" >&5 + echo "$as_me:41155: checking if you wish to allow \"uudecode\" commands from DirEd" >&5 echo $ECHO_N "checking if you wish to allow \"uudecode\" commands from DirEd... $ECHO_C" >&6 # Check whether --enable-dired-uudecode or --disable-dired-uudecode was given. @@ -41064,10 +41176,10 @@ cat >>confdefs.h <<\EOF EOF fi; - echo "$as_me:41067: result: $enableval" >&5 + echo "$as_me:41179: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 - echo "$as_me:41070: checking if you wish to allow \"zip\" and \"unzip\" commands from DirEd" >&5 + echo "$as_me:41182: checking if you wish to allow \"zip\" and \"unzip\" commands from DirEd" >&5 echo $ECHO_N "checking if you wish to allow \"zip\" and \"unzip\" commands from DirEd... $ECHO_C" >&6 # Check whether --enable-dired-zip or --disable-dired-zip was given. @@ -41091,10 +41203,10 @@ cat >>confdefs.h <<\EOF EOF fi; - echo "$as_me:41094: result: $enableval" >&5 + echo "$as_me:41206: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 - echo "$as_me:41097: checking if you wish to allow \"gzip\" and \"gunzip\" commands from DirEd" >&5 + echo "$as_me:41209: checking if you wish to allow \"gzip\" and \"gunzip\" commands from DirEd" >&5 echo $ECHO_N "checking if you wish to allow \"gzip\" and \"gunzip\" commands from DirEd... $ECHO_C" >&6 # Check whether --enable-dired-gzip or --disable-dired-gzip was given. @@ -41118,11 +41230,11 @@ cat >>confdefs.h <<\EOF EOF fi; - echo "$as_me:41121: result: $enableval" >&5 + echo "$as_me:41233: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 fi -echo "$as_me:41125: checking if you want long-directory listings" >&5 +echo "$as_me:41237: checking if you want long-directory listings" >&5 echo $ECHO_N "checking if you want long-directory listings... $ECHO_C" >&6 # Check whether --enable-long-list or --disable-long-list was given. @@ -41146,10 +41258,10 @@ cat >>confdefs.h <<\EOF EOF fi; -echo "$as_me:41149: result: $enableval" >&5 +echo "$as_me:41261: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 -echo "$as_me:41152: checking if parent-directory references are permitted" >&5 +echo "$as_me:41264: checking if parent-directory references are permitted" >&5 echo $ECHO_N "checking if parent-directory references are permitted... $ECHO_C" >&6 # Check whether --enable-parent-dir-refs or --disable-parent-dir-refs was given. @@ -41166,15 +41278,15 @@ EOF else enableval=yes fi; -echo "$as_me:41169: result: $enableval" >&5 +echo "$as_me:41281: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 -test -z "$TELNET" && TELNET=telnet +test -z "$TELNET" && TELNET="telnet" for ac_prog in $TELNET telnet do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:41177: checking for $ac_word" >&5 +echo "$as_me:41289: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_TELNET+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -41191,7 +41303,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_TELNET="$ac_dir/$ac_word" - echo "$as_me:41194: found $ac_dir/$ac_word" >&5 + echo "$as_me:41306: found $ac_dir/$ac_word" >&5 break fi done @@ -41202,10 +41314,10 @@ fi TELNET=$ac_cv_path_TELNET if test -n "$TELNET"; then - echo "$as_me:41205: result: $TELNET" >&5 + echo "$as_me:41317: result: $TELNET" >&5 echo "${ECHO_T}$TELNET" >&6 else - echo "$as_me:41208: result: no" >&5 + echo "$as_me:41320: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -41234,16 +41346,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -41252,7 +41364,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -41264,7 +41376,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:41267: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:41379: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define TELNET_PATH "$cf_path_prog" @@ -41277,12 +41389,12 @@ EOF fi -test -z "$TN3270" && TN3270=tn3270 +test -z "$TN3270" && TN3270="tn3270" for ac_prog in $TN3270 tn3270 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:41285: checking for $ac_word" >&5 +echo "$as_me:41397: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_TN3270+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -41299,7 +41411,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_TN3270="$ac_dir/$ac_word" - echo "$as_me:41302: found $ac_dir/$ac_word" >&5 + echo "$as_me:41414: found $ac_dir/$ac_word" >&5 break fi done @@ -41310,10 +41422,10 @@ fi TN3270=$ac_cv_path_TN3270 if test -n "$TN3270"; then - echo "$as_me:41313: result: $TN3270" >&5 + echo "$as_me:41425: result: $TN3270" >&5 echo "${ECHO_T}$TN3270" >&6 else - echo "$as_me:41316: result: no" >&5 + echo "$as_me:41428: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -41342,16 +41454,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -41360,7 +41472,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -41372,7 +41484,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:41375: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:41487: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define TN3270_PATH "$cf_path_prog" @@ -41385,12 +41497,12 @@ EOF fi -test -z "$RLOGIN" && RLOGIN=rlogin +test -z "$RLOGIN" && RLOGIN="rlogin" for ac_prog in $RLOGIN rlogin do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:41393: checking for $ac_word" >&5 +echo "$as_me:41505: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_RLOGIN+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -41407,7 +41519,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_RLOGIN="$ac_dir/$ac_word" - echo "$as_me:41410: found $ac_dir/$ac_word" >&5 + echo "$as_me:41522: found $ac_dir/$ac_word" >&5 break fi done @@ -41418,10 +41530,10 @@ fi RLOGIN=$ac_cv_path_RLOGIN if test -n "$RLOGIN"; then - echo "$as_me:41421: result: $RLOGIN" >&5 + echo "$as_me:41533: result: $RLOGIN" >&5 echo "${ECHO_T}$RLOGIN" >&6 else - echo "$as_me:41424: result: no" >&5 + echo "$as_me:41536: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -41450,16 +41562,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -41468,7 +41580,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -41480,7 +41592,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:41483: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:41595: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define RLOGIN_PATH "$cf_path_prog" @@ -41493,12 +41605,12 @@ EOF fi -test -z "$MV" && MV=mv +test -z "$MV" && MV="mv" for ac_prog in $MV mv do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:41501: checking for $ac_word" >&5 +echo "$as_me:41613: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MV+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -41515,7 +41627,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_MV="$ac_dir/$ac_word" - echo "$as_me:41518: found $ac_dir/$ac_word" >&5 + echo "$as_me:41630: found $ac_dir/$ac_word" >&5 break fi done @@ -41526,10 +41638,10 @@ fi MV=$ac_cv_path_MV if test -n "$MV"; then - echo "$as_me:41529: result: $MV" >&5 + echo "$as_me:41641: result: $MV" >&5 echo "${ECHO_T}$MV" >&6 else - echo "$as_me:41532: result: no" >&5 + echo "$as_me:41644: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -41558,16 +41670,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -41576,7 +41688,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -41588,7 +41700,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:41591: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:41703: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define MV_PATH "$cf_path_prog" @@ -41601,12 +41713,12 @@ EOF fi -test -z "$GZIP" && GZIP=gzip +test -z "$GZIP" && GZIP="gzip" for ac_prog in $GZIP gzip do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:41609: checking for $ac_word" >&5 +echo "$as_me:41721: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GZIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -41623,7 +41735,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_GZIP="$ac_dir/$ac_word" - echo "$as_me:41626: found $ac_dir/$ac_word" >&5 + echo "$as_me:41738: found $ac_dir/$ac_word" >&5 break fi done @@ -41634,10 +41746,10 @@ fi GZIP=$ac_cv_path_GZIP if test -n "$GZIP"; then - echo "$as_me:41637: result: $GZIP" >&5 + echo "$as_me:41749: result: $GZIP" >&5 echo "${ECHO_T}$GZIP" >&6 else - echo "$as_me:41640: result: no" >&5 + echo "$as_me:41752: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -41666,16 +41778,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -41684,7 +41796,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -41696,7 +41808,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:41699: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:41811: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define GZIP_PATH "$cf_path_prog" @@ -41709,12 +41821,12 @@ EOF fi -test -z "$UNCOMPRESS" && UNCOMPRESS=gunzip +test -z "$UNCOMPRESS" && UNCOMPRESS="gunzip" for ac_prog in $UNCOMPRESS gunzip do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:41717: checking for $ac_word" >&5 +echo "$as_me:41829: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_UNCOMPRESS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -41731,7 +41843,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_UNCOMPRESS="$ac_dir/$ac_word" - echo "$as_me:41734: found $ac_dir/$ac_word" >&5 + echo "$as_me:41846: found $ac_dir/$ac_word" >&5 break fi done @@ -41742,10 +41854,10 @@ fi UNCOMPRESS=$ac_cv_path_UNCOMPRESS if test -n "$UNCOMPRESS"; then - echo "$as_me:41745: result: $UNCOMPRESS" >&5 + echo "$as_me:41857: result: $UNCOMPRESS" >&5 echo "${ECHO_T}$UNCOMPRESS" >&6 else - echo "$as_me:41748: result: no" >&5 + echo "$as_me:41860: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -41774,16 +41886,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -41792,7 +41904,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -41804,7 +41916,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:41807: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:41919: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define UNCOMPRESS_PATH "$cf_path_prog" @@ -41817,12 +41929,12 @@ EOF fi -test -z "$UNZIP" && UNZIP=unzip +test -z "$UNZIP" && UNZIP="unzip" for ac_prog in $UNZIP unzip do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:41825: checking for $ac_word" >&5 +echo "$as_me:41937: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_UNZIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -41839,7 +41951,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_UNZIP="$ac_dir/$ac_word" - echo "$as_me:41842: found $ac_dir/$ac_word" >&5 + echo "$as_me:41954: found $ac_dir/$ac_word" >&5 break fi done @@ -41850,10 +41962,10 @@ fi UNZIP=$ac_cv_path_UNZIP if test -n "$UNZIP"; then - echo "$as_me:41853: result: $UNZIP" >&5 + echo "$as_me:41965: result: $UNZIP" >&5 echo "${ECHO_T}$UNZIP" >&6 else - echo "$as_me:41856: result: no" >&5 + echo "$as_me:41968: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -41882,16 +41994,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -41900,7 +42012,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -41912,7 +42024,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:41915: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42027: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define UNZIP_PATH "$cf_path_prog" @@ -41925,12 +42037,12 @@ EOF fi -test -z "$BZIP2" && BZIP2=bzip2 +test -z "$BZIP2" && BZIP2="bzip2" for ac_prog in $BZIP2 bzip2 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:41933: checking for $ac_word" >&5 +echo "$as_me:42045: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_BZIP2+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -41947,7 +42059,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_BZIP2="$ac_dir/$ac_word" - echo "$as_me:41950: found $ac_dir/$ac_word" >&5 + echo "$as_me:42062: found $ac_dir/$ac_word" >&5 break fi done @@ -41958,10 +42070,10 @@ fi BZIP2=$ac_cv_path_BZIP2 if test -n "$BZIP2"; then - echo "$as_me:41961: result: $BZIP2" >&5 + echo "$as_me:42073: result: $BZIP2" >&5 echo "${ECHO_T}$BZIP2" >&6 else - echo "$as_me:41964: result: no" >&5 + echo "$as_me:42076: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -41990,16 +42102,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -42008,7 +42120,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -42020,7 +42132,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:42023: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42135: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define BZIP2_PATH "$cf_path_prog" @@ -42033,12 +42145,12 @@ EOF fi -test -z "$TAR" && TAR=tar +test -z "$TAR" && TAR="tar" for ac_prog in $TAR tar pax gtar gnutar bsdtar star do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:42041: checking for $ac_word" >&5 +echo "$as_me:42153: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_TAR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -42055,7 +42167,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_TAR="$ac_dir/$ac_word" - echo "$as_me:42058: found $ac_dir/$ac_word" >&5 + echo "$as_me:42170: found $ac_dir/$ac_word" >&5 break fi done @@ -42066,10 +42178,10 @@ fi TAR=$ac_cv_path_TAR if test -n "$TAR"; then - echo "$as_me:42069: result: $TAR" >&5 + echo "$as_me:42181: result: $TAR" >&5 echo "${ECHO_T}$TAR" >&6 else - echo "$as_me:42072: result: no" >&5 + echo "$as_me:42184: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -42098,16 +42210,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -42116,7 +42228,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -42128,7 +42240,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:42131: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42243: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define TAR_PATH "$cf_path_prog" @@ -42181,12 +42293,12 @@ EOF if test ".$use_dired" != ".no" ; then -test -z "$COMPRESS" && COMPRESS=compress +test -z "$COMPRESS" && COMPRESS="compress" for ac_prog in $COMPRESS compress do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:42189: checking for $ac_word" >&5 +echo "$as_me:42301: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_COMPRESS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -42203,7 +42315,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_COMPRESS="$ac_dir/$ac_word" - echo "$as_me:42206: found $ac_dir/$ac_word" >&5 + echo "$as_me:42318: found $ac_dir/$ac_word" >&5 break fi done @@ -42214,10 +42326,10 @@ fi COMPRESS=$ac_cv_path_COMPRESS if test -n "$COMPRESS"; then - echo "$as_me:42217: result: $COMPRESS" >&5 + echo "$as_me:42329: result: $COMPRESS" >&5 echo "${ECHO_T}$COMPRESS" >&6 else - echo "$as_me:42220: result: no" >&5 + echo "$as_me:42332: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -42246,16 +42358,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -42264,7 +42376,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -42276,7 +42388,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:42279: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42391: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define COMPRESS_PATH "$cf_path_prog" @@ -42289,12 +42401,12 @@ EOF fi -test -z "$RM" && RM=rm +test -z "$RM" && RM="rm" for ac_prog in $RM rm do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:42297: checking for $ac_word" >&5 +echo "$as_me:42409: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_RM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -42311,7 +42423,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_RM="$ac_dir/$ac_word" - echo "$as_me:42314: found $ac_dir/$ac_word" >&5 + echo "$as_me:42426: found $ac_dir/$ac_word" >&5 break fi done @@ -42322,10 +42434,10 @@ fi RM=$ac_cv_path_RM if test -n "$RM"; then - echo "$as_me:42325: result: $RM" >&5 + echo "$as_me:42437: result: $RM" >&5 echo "${ECHO_T}$RM" >&6 else - echo "$as_me:42328: result: no" >&5 + echo "$as_me:42440: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -42354,16 +42466,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -42372,7 +42484,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -42384,7 +42496,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:42387: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42499: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define RM_PATH "$cf_path_prog" @@ -42397,12 +42509,12 @@ EOF fi -test -z "$UUDECODE" && UUDECODE=uudecode +test -z "$UUDECODE" && UUDECODE="uudecode" for ac_prog in $UUDECODE uudecode do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:42405: checking for $ac_word" >&5 +echo "$as_me:42517: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_UUDECODE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -42419,7 +42531,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_UUDECODE="$ac_dir/$ac_word" - echo "$as_me:42422: found $ac_dir/$ac_word" >&5 + echo "$as_me:42534: found $ac_dir/$ac_word" >&5 break fi done @@ -42430,10 +42542,10 @@ fi UUDECODE=$ac_cv_path_UUDECODE if test -n "$UUDECODE"; then - echo "$as_me:42433: result: $UUDECODE" >&5 + echo "$as_me:42545: result: $UUDECODE" >&5 echo "${ECHO_T}$UUDECODE" >&6 else - echo "$as_me:42436: result: no" >&5 + echo "$as_me:42548: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -42462,16 +42574,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -42480,7 +42592,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -42492,7 +42604,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:42495: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42607: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define UUDECODE_PATH "$cf_path_prog" @@ -42505,12 +42617,12 @@ EOF fi -test -z "$ZCAT" && ZCAT=zcat +test -z "$ZCAT" && ZCAT="zcat" for ac_prog in $ZCAT zcat do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:42513: checking for $ac_word" >&5 +echo "$as_me:42625: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_ZCAT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -42527,7 +42639,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_ZCAT="$ac_dir/$ac_word" - echo "$as_me:42530: found $ac_dir/$ac_word" >&5 + echo "$as_me:42642: found $ac_dir/$ac_word" >&5 break fi done @@ -42538,10 +42650,10 @@ fi ZCAT=$ac_cv_path_ZCAT if test -n "$ZCAT"; then - echo "$as_me:42541: result: $ZCAT" >&5 + echo "$as_me:42653: result: $ZCAT" >&5 echo "${ECHO_T}$ZCAT" >&6 else - echo "$as_me:42544: result: no" >&5 + echo "$as_me:42656: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -42570,16 +42682,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -42588,7 +42700,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -42600,7 +42712,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:42603: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42715: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define ZCAT_PATH "$cf_path_prog" @@ -42613,12 +42725,12 @@ EOF fi -test -z "$ZIP" && ZIP=zip +test -z "$ZIP" && ZIP="zip" for ac_prog in $ZIP zip do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:42621: checking for $ac_word" >&5 +echo "$as_me:42733: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_ZIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -42635,7 +42747,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_ZIP="$ac_dir/$ac_word" - echo "$as_me:42638: found $ac_dir/$ac_word" >&5 + echo "$as_me:42750: found $ac_dir/$ac_word" >&5 break fi done @@ -42646,10 +42758,10 @@ fi ZIP=$ac_cv_path_ZIP if test -n "$ZIP"; then - echo "$as_me:42649: result: $ZIP" >&5 + echo "$as_me:42761: result: $ZIP" >&5 echo "${ECHO_T}$ZIP" >&6 else - echo "$as_me:42652: result: no" >&5 + echo "$as_me:42764: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -42678,16 +42790,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -42696,7 +42808,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -42708,7 +42820,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:42711: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42823: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define ZIP_PATH "$cf_path_prog" @@ -42731,12 +42843,12 @@ EOF (*) cf_save_INSTALL="$INSTALL" -test -z "$INSTALL" && INSTALL=install +test -z "$INSTALL" && INSTALL="install" for ac_prog in $INSTALL install do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:42739: checking for $ac_word" >&5 +echo "$as_me:42851: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_INSTALL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -42753,7 +42865,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_INSTALL="$ac_dir/$ac_word" - echo "$as_me:42756: found $ac_dir/$ac_word" >&5 + echo "$as_me:42868: found $ac_dir/$ac_word" >&5 break fi done @@ -42764,10 +42876,10 @@ fi INSTALL=$ac_cv_path_INSTALL if test -n "$INSTALL"; then - echo "$as_me:42767: result: $INSTALL" >&5 + echo "$as_me:42879: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 else - echo "$as_me:42770: result: no" >&5 + echo "$as_me:42882: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -42796,16 +42908,16 @@ case ".$cf_temp" in ;; (.[a-zA-Z]:[\\/]*) # OS/2 EMX ;; -(.\${*prefix}*|.\${*dir}*) +(.\$\{*prefix\}*|.\$\{*dir\}*) eval cf_temp="$cf_temp" case ".$cf_temp" in (.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; esac ;; (.no|.NONE/*) - cf_temp=`echo $cf_temp | sed -e s%NONE%$cf_path_syntax%` + cf_temp=`echo "$cf_temp" | sed -e s%NONE%$cf_path_syntax%` ;; (*) break @@ -42814,7 +42926,7 @@ esac cf_path_prog="$cf_temp" else - cf_path_prog="`basename $cf_temp`" + cf_path_prog="`basename "$cf_temp"`" fi elif test -z "$cf_path_args" ; then cf_path_args="$cf_temp" @@ -42826,7 +42938,7 @@ IFS="$cf_save_ifs" if test -n "$cf_path_prog" ; then -echo "${as_me:-configure}:42829: testing defining path for ${cf_path_prog} ..." 1>&5 +echo "${as_me:-configure}:42941: testing defining path for ${cf_path_prog} ..." 1>&5 cat >>confdefs.h <<EOF #define INSTALL_PATH "$cf_path_prog" @@ -42846,25 +42958,25 @@ fi COMPRESS_PROG= COMPRESS_EXT= -if test $use_gzip_help = yes ; then +if test "$use_gzip_help" = yes ; then COMPRESS_PROG="$ac_cv_path_GZIP -9 -n" COMPRESS_EXT=.gz fi -if test $cf_cv_screen = pdcurses ; then +if test "$cf_cv_screen" = pdcurses ; then - case $host_os in + case "$host_os" in (mingw*) -echo "$as_me:42859: checking for initscr in -lpdcurses" >&5 +echo "$as_me:42971: checking for initscr in -lpdcurses" >&5 echo $ECHO_N "checking for initscr in -lpdcurses... $ECHO_C" >&6 if test "${ac_cv_lib_pdcurses_initscr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpdcurses $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 42867 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 42979 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -42882,30 +42994,30 @@ initscr (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:42886: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:42998: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:42889: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:42892: \"$ac_try\"") >&5 + echo "$as_me:43001: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:43004: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:42895: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:43007: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_pdcurses_initscr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_pdcurses_initscr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:42906: result: $ac_cv_lib_pdcurses_initscr" >&5 +echo "$as_me:43018: result: $ac_cv_lib_pdcurses_initscr" >&5 echo "${ECHO_T}$ac_cv_lib_pdcurses_initscr" >&6 -if test $ac_cv_lib_pdcurses_initscr = yes; then +if test "$ac_cv_lib_pdcurses_initscr" = yes; then cf_add_libs="$LIBS" # reverse order @@ -42925,13 +43037,13 @@ LIBS="$cf_add_libs" cf_cv_term_header=no cf_cv_unctrl_header=no - echo "$as_me:42928: checking for winwstr" >&5 + echo "$as_me:43040: checking for winwstr" >&5 echo $ECHO_N "checking for winwstr... $ECHO_C" >&6 if test "${ac_cv_func_winwstr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 42934 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 43046 "configure" #include "confdefs.h" #define winwstr autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -42961,29 +43073,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:42965: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:43077: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:42968: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:42971: \"$ac_try\"") >&5 + echo "$as_me:43080: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:43083: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:42974: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:43086: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_winwstr=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_winwstr=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:42984: result: $ac_cv_func_winwstr" >&5 +echo "$as_me:43096: result: $ac_cv_func_winwstr" >&5 echo "${ECHO_T}$ac_cv_func_winwstr" >&6 -if test $ac_cv_func_winwstr = yes; then +if test "$ac_cv_func_winwstr" = yes; then cat >>confdefs.h <<\EOF #define PDC_WIDE 1 @@ -42991,13 +43103,13 @@ EOF fi - echo "$as_me:42994: checking for pdcurses_dll_iname" >&5 + echo "$as_me:43106: checking for pdcurses_dll_iname" >&5 echo $ECHO_N "checking for pdcurses_dll_iname... $ECHO_C" >&6 if test "${ac_cv_func_pdcurses_dll_iname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 43000 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 43112 "configure" #include "confdefs.h" #define pdcurses_dll_iname autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -43027,29 +43139,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:43031: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:43143: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:43034: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:43037: \"$ac_try\"") >&5 + echo "$as_me:43146: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:43149: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:43040: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:43152: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_pdcurses_dll_iname=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_pdcurses_dll_iname=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:43050: result: $ac_cv_func_pdcurses_dll_iname" >&5 +echo "$as_me:43162: result: $ac_cv_func_pdcurses_dll_iname" >&5 echo "${ECHO_T}$ac_cv_func_pdcurses_dll_iname" >&6 -if test $ac_cv_func_pdcurses_dll_iname = yes; then +if test "$ac_cv_func_pdcurses_dll_iname" = yes; then cat >>confdefs.h <<\EOF #define PDC_DLL_BUILD 1 @@ -43064,7 +43176,7 @@ fi cf_x_athena=${cf_x_athena:-Xaw} -echo "$as_me:43067: checking if you want to link with Xaw 3d library" >&5 +echo "$as_me:43179: checking if you want to link with Xaw 3d library" >&5 echo $ECHO_N "checking if you want to link with Xaw 3d library... $ECHO_C" >&6 withval= @@ -43075,14 +43187,14 @@ if test "${with_Xaw3d+set}" = set; then fi; if test "$withval" = yes ; then cf_x_athena=Xaw3d - echo "$as_me:43078: result: yes" >&5 + echo "$as_me:43190: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:43081: result: no" >&5 + echo "$as_me:43193: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:43085: checking if you want to link with Xaw 3d xft library" >&5 +echo "$as_me:43197: checking if you want to link with Xaw 3d xft library" >&5 echo $ECHO_N "checking if you want to link with Xaw 3d xft library... $ECHO_C" >&6 withval= @@ -43093,14 +43205,14 @@ if test "${with_Xaw3dxft+set}" = set; then fi; if test "$withval" = yes ; then cf_x_athena=Xaw3dxft - echo "$as_me:43096: result: yes" >&5 + echo "$as_me:43208: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:43099: result: no" >&5 + echo "$as_me:43211: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:43103: checking if you want to link with neXT Athena library" >&5 +echo "$as_me:43215: checking if you want to link with neXT Athena library" >&5 echo $ECHO_N "checking if you want to link with neXT Athena library... $ECHO_C" >&6 withval= @@ -43111,14 +43223,14 @@ if test "${with_neXtaw+set}" = set; then fi; if test "$withval" = yes ; then cf_x_athena=neXtaw - echo "$as_me:43114: result: yes" >&5 + echo "$as_me:43226: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:43117: result: no" >&5 + echo "$as_me:43229: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:43121: checking if you want to link with Athena-Plus library" >&5 +echo "$as_me:43233: checking if you want to link with Athena-Plus library" >&5 echo $ECHO_N "checking if you want to link with Athena-Plus library... $ECHO_C" >&6 withval= @@ -43129,10 +43241,10 @@ if test "${with_XawPlus+set}" = set; then fi; if test "$withval" = yes ; then cf_x_athena=XawPlus - echo "$as_me:43132: result: yes" >&5 + echo "$as_me:43244: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:43135: result: no" >&5 + echo "$as_me:43247: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -43149,20 +43261,20 @@ if test "$PKG_CONFIG" != none ; then lib${cf_x_athena}-devel do -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists $cf_athena_pkg; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "$cf_athena_pkg"; then test -n "$verbose" && echo " found package $cf_athena_pkg" 1>&6 -echo "${as_me:-configure}:43155: testing found package $cf_athena_pkg ..." 1>&5 +echo "${as_me:-configure}:43267: testing found package $cf_athena_pkg ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags $cf_athena_pkg 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs $cf_athena_pkg 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "$cf_athena_pkg" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "$cf_athena_pkg" 2>/dev/null`" test -n "$verbose" && echo " package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:43161: testing package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:43273: testing package $cf_athena_pkg CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package $cf_athena_pkg LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:43165: testing package $cf_athena_pkg LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:43277: testing package $cf_athena_pkg LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -43171,19 +43283,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -43202,7 +43314,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -43232,7 +43344,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -43293,20 +43405,20 @@ EOF LIBS=`echo "$LIBS " | sed -e 's/ / /g' -e 's%-l'"$cf_trim_lib"' %%' -e 's/ $//'` test -n "$verbose" && echo " ..trimmed $LIBS" 1>&6 -echo "${as_me:-configure}:43296: testing ..trimmed $LIBS ..." 1>&5 +echo "${as_me:-configure}:43408: testing ..trimmed $LIBS ..." 1>&5 ;; esac done -echo "$as_me:43302: checking for usable $cf_x_athena/Xmu package" >&5 +echo "$as_me:43414: checking for usable $cf_x_athena/Xmu package" >&5 echo $ECHO_N "checking for usable $cf_x_athena/Xmu package... $ECHO_C" >&6 if test "${cf_cv_xaw_compat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 43309 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 43421 "configure" #include "confdefs.h" #include <X11/Xmu/CharSet.h> @@ -43322,27 +43434,27 @@ int check = XmuCompareISOLatin1("big", "small"); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:43326: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:43438: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:43329: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:43332: \"$ac_try\"") >&5 + echo "$as_me:43441: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:43444: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:43335: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:43447: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_xaw_compat=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_xaw_compat=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:43345: result: $cf_cv_xaw_compat" >&5 +echo "$as_me:43457: result: $cf_cv_xaw_compat" >&5 echo "${ECHO_T}$cf_cv_xaw_compat" >&6 if test "$cf_cv_xaw_compat" = no @@ -43354,25 +43466,25 @@ echo "${ECHO_T}$cf_cv_xaw_compat" >&6 (*) test -n "$verbose" && echo " work around broken package" 1>&6 -echo "${as_me:-configure}:43357: testing work around broken package ..." 1>&5 +echo "${as_me:-configure}:43469: testing work around broken package ..." 1>&5 cf_save_xmu="$LIBS" cf_first_lib=`echo "$cf_save_xmu" | sed -e 's/^ *//' -e 's/ .*//'` -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xmu; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "xmu"; then test -n "$verbose" && echo " found package xmu" 1>&6 -echo "${as_me:-configure}:43365: testing found package xmu ..." 1>&5 +echo "${as_me:-configure}:43477: testing found package xmu ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags xmu 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs xmu 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "xmu" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "xmu" 2>/dev/null`" test -n "$verbose" && echo " package xmu CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:43371: testing package xmu CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:43483: testing package xmu CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package xmu LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:43375: testing package xmu LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:43487: testing package xmu LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -43381,19 +43493,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -43412,7 +43524,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -43442,7 +43554,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -43492,12 +43604,12 @@ LIBS="$cf_add_libs" test -n "$verbose" && echo " ...before $LIBS" 1>&6 -echo "${as_me:-configure}:43495: testing ...before $LIBS ..." 1>&5 +echo "${as_me:-configure}:43607: testing ...before $LIBS ..." 1>&5 LIBS=`echo "$LIBS" | sed -e "s/[ ][ ]*/ /g" -e "s%$cf_first_lib %$cf_first_lib $cf_pkgconfig_libs %" -e 's% % %g'` test -n "$verbose" && echo " ...after $LIBS" 1>&6 -echo "${as_me:-configure}:43500: testing ...after $LIBS ..." 1>&5 +echo "${as_me:-configure}:43612: testing ...after $LIBS ..." 1>&5 else cf_pkgconfig_incs= @@ -43505,12 +43617,12 @@ else test -n "$verbose" && echo " ...before $LIBS" 1>&6 -echo "${as_me:-configure}:43508: testing ...before $LIBS ..." 1>&5 +echo "${as_me:-configure}:43620: testing ...before $LIBS ..." 1>&5 LIBS=`echo "$LIBS" | sed -e "s/[ ][ ]*/ /g" -e "s%$cf_first_lib %$cf_first_lib -lXmu %" -e 's% % %g'` test -n "$verbose" && echo " ...after $LIBS" 1>&6 -echo "${as_me:-configure}:43513: testing ...after $LIBS ..." 1>&5 +echo "${as_me:-configure}:43625: testing ...after $LIBS ..." 1>&5 fi @@ -43521,7 +43633,7 @@ fi LIBS=`echo "$LIBS " | sed -e 's/ / /g' -e 's%-l'"$cf_trim_lib"' %%' -e 's/ $//'` test -n "$verbose" && echo " ..trimmed $LIBS" 1>&6 -echo "${as_me:-configure}:43524: testing ..trimmed $LIBS ..." 1>&5 +echo "${as_me:-configure}:43636: testing ..trimmed $LIBS ..." 1>&5 ;; esac @@ -43543,20 +43655,20 @@ fi if test -z "$cf_x_athena_lib" ; then -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists Xext; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "Xext"; then test -n "$verbose" && echo " found package Xext" 1>&6 -echo "${as_me:-configure}:43549: testing found package Xext ..." 1>&5 +echo "${as_me:-configure}:43661: testing found package Xext ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags Xext 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs Xext 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "Xext" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "Xext" 2>/dev/null`" test -n "$verbose" && echo " package Xext CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:43555: testing package Xext CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:43667: testing package Xext CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package Xext LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:43559: testing package Xext LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:43671: testing package Xext LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -43565,19 +43677,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -43596,7 +43708,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -43626,7 +43738,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -43677,15 +43789,15 @@ else cf_pkgconfig_incs= cf_pkgconfig_libs= - echo "$as_me:43680: checking for XextCreateExtension in -lXext" >&5 + echo "$as_me:43792: checking for XextCreateExtension in -lXext" >&5 echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6 if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXext $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 43688 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 43800 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -43703,30 +43815,30 @@ XextCreateExtension (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:43707: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:43819: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:43710: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:43713: \"$ac_try\"") >&5 + echo "$as_me:43822: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:43825: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:43716: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:43828: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_Xext_XextCreateExtension=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_Xext_XextCreateExtension=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:43727: result: $ac_cv_lib_Xext_XextCreateExtension" >&5 +echo "$as_me:43839: result: $ac_cv_lib_Xext_XextCreateExtension" >&5 echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6 -if test $ac_cv_lib_Xext_XextCreateExtension = yes; then +if test "$ac_cv_lib_Xext_XextCreateExtension" = yes; then cf_add_libs="$LIBS" # reverse order @@ -43757,20 +43869,20 @@ fi if test -z "${X_CFLAGS}${X_PRE_LIBS}${X_LIBS}${X_EXTRA_LIBS}" then -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists x11; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "x11"; then test -n "$verbose" && echo " found package x11" 1>&6 -echo "${as_me:-configure}:43763: testing found package x11 ..." 1>&5 +echo "${as_me:-configure}:43875: testing found package x11 ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags x11 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs x11 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "x11" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "x11" 2>/dev/null`" test -n "$verbose" && echo " package x11 CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:43769: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:43881: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package x11 LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:43773: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:43885: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -43779,19 +43891,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -43810,7 +43922,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -43840,7 +43952,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -43890,24 +44002,24 @@ LIBS="$cf_add_libs" else cf_pkgconfig_incs= cf_pkgconfig_libs= - { echo "$as_me:43893: WARNING: unable to find X11 library" >&5 + { echo "$as_me:44005: WARNING: unable to find X11 library" >&5 echo "$as_me: WARNING: unable to find X11 library" >&2;} fi -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists ice; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "ice"; then test -n "$verbose" && echo " found package ice" 1>&6 -echo "${as_me:-configure}:43900: testing found package ice ..." 1>&5 +echo "${as_me:-configure}:44012: testing found package ice ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags ice 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs ice 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "ice" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "ice" 2>/dev/null`" test -n "$verbose" && echo " package ice CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:43906: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:44018: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package ice LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:43910: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:44022: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -43916,19 +44028,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -43947,7 +44059,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -43977,7 +44089,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -44027,24 +44139,24 @@ LIBS="$cf_add_libs" else cf_pkgconfig_incs= cf_pkgconfig_libs= - { echo "$as_me:44030: WARNING: unable to find ICE library" >&5 + { echo "$as_me:44142: WARNING: unable to find ICE library" >&5 echo "$as_me: WARNING: unable to find ICE library" >&2;} fi -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists sm; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "sm"; then test -n "$verbose" && echo " found package sm" 1>&6 -echo "${as_me:-configure}:44037: testing found package sm ..." 1>&5 +echo "${as_me:-configure}:44149: testing found package sm ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags sm 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs sm 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "sm" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "sm" 2>/dev/null`" test -n "$verbose" && echo " package sm CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:44043: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:44155: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package sm LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:44047: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:44159: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -44053,19 +44165,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -44084,7 +44196,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -44114,7 +44226,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -44164,24 +44276,24 @@ LIBS="$cf_add_libs" else cf_pkgconfig_incs= cf_pkgconfig_libs= - { echo "$as_me:44167: WARNING: unable to find SM library" >&5 + { echo "$as_me:44279: WARNING: unable to find SM library" >&5 echo "$as_me: WARNING: unable to find SM library" >&2;} fi -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xt; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "xt"; then test -n "$verbose" && echo " found package xt" 1>&6 -echo "${as_me:-configure}:44174: testing found package xt ..." 1>&5 +echo "${as_me:-configure}:44286: testing found package xt ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags xt 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs xt 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "xt" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "xt" 2>/dev/null`" test -n "$verbose" && echo " package xt CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:44180: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:44292: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package xt LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:44184: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:44296: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -44190,19 +44302,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -44221,7 +44333,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -44251,7 +44363,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -44301,7 +44413,7 @@ LIBS="$cf_add_libs" else cf_pkgconfig_incs= cf_pkgconfig_libs= - { echo "$as_me:44304: WARNING: unable to find Xt library" >&5 + { echo "$as_me:44416: WARNING: unable to find Xt library" >&5 echo "$as_me: WARNING: unable to find Xt library" >&2;} fi @@ -44311,20 +44423,20 @@ fi cf_have_X_LIBS=no -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists xt; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "xt"; then test -n "$verbose" && echo " found package xt" 1>&6 -echo "${as_me:-configure}:44317: testing found package xt ..." 1>&5 +echo "${as_me:-configure}:44429: testing found package xt ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags xt 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs xt 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "xt" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "xt" 2>/dev/null`" test -n "$verbose" && echo " package xt CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:44323: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:44435: testing package xt CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package xt LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:44327: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:44439: testing package xt LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -44333,19 +44445,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -44364,7 +44476,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -44394,7 +44506,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -44445,14 +44557,14 @@ LIBS="$cf_add_libs" ;; (*) # we have an "xt" package, but it may omit Xt's dependency on X11 -echo "$as_me:44448: checking for usable X dependency" >&5 +echo "$as_me:44560: checking for usable X dependency" >&5 echo $ECHO_N "checking for usable X dependency... $ECHO_C" >&6 if test "${cf_cv_xt_x11_compat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 44455 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 44567 "configure" #include "confdefs.h" #include <X11/Xlib.h> @@ -44470,50 +44582,50 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:44474: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:44586: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:44477: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:44480: \"$ac_try\"") >&5 + echo "$as_me:44589: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:44592: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:44483: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:44595: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_xt_x11_compat=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_xt_x11_compat=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:44493: result: $cf_cv_xt_x11_compat" >&5 +echo "$as_me:44605: result: $cf_cv_xt_x11_compat" >&5 echo "${ECHO_T}$cf_cv_xt_x11_compat" >&6 if test "$cf_cv_xt_x11_compat" = no then test -n "$verbose" && echo " work around broken X11 dependency" 1>&6 -echo "${as_me:-configure}:44499: testing work around broken X11 dependency ..." 1>&5 +echo "${as_me:-configure}:44611: testing work around broken X11 dependency ..." 1>&5 # 2010/11/19 - good enough until a working Xt on Xcb is delivered. -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists x11; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "x11"; then test -n "$verbose" && echo " found package x11" 1>&6 -echo "${as_me:-configure}:44506: testing found package x11 ..." 1>&5 +echo "${as_me:-configure}:44618: testing found package x11 ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags x11 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs x11 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "x11" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "x11" 2>/dev/null`" test -n "$verbose" && echo " package x11 CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:44512: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:44624: testing package x11 CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package x11 LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:44516: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:44628: testing package x11 LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -44522,19 +44634,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -44553,7 +44665,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -44583,7 +44695,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -44636,12 +44748,12 @@ else test -n "$verbose" && echo " ...before $LIBS" 1>&6 -echo "${as_me:-configure}:44639: testing ...before $LIBS ..." 1>&5 +echo "${as_me:-configure}:44751: testing ...before $LIBS ..." 1>&5 LIBS=`echo "$LIBS" | sed -e "s/[ ][ ]*/ /g" -e "s%-lXt %-lXt -lX11 %" -e 's% % %g'` test -n "$verbose" && echo " ...after $LIBS" 1>&6 -echo "${as_me:-configure}:44644: testing ...after $LIBS ..." 1>&5 +echo "${as_me:-configure}:44756: testing ...after $LIBS ..." 1>&5 fi @@ -44649,14 +44761,14 @@ fi ;; esac -echo "$as_me:44652: checking for usable X Toolkit package" >&5 +echo "$as_me:44764: checking for usable X Toolkit package" >&5 echo $ECHO_N "checking for usable X Toolkit package... $ECHO_C" >&6 if test "${cf_cv_xt_ice_compat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 44659 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 44771 "configure" #include "confdefs.h" #include <X11/Shell.h> @@ -44670,27 +44782,27 @@ int num = IceConnectionNumber(0); (void) num return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:44674: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:44786: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:44677: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:44680: \"$ac_try\"") >&5 + echo "$as_me:44789: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:44792: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:44683: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:44795: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_xt_ice_compat=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_xt_ice_compat=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:44693: result: $cf_cv_xt_ice_compat" >&5 +echo "$as_me:44805: result: $cf_cv_xt_ice_compat" >&5 echo "${ECHO_T}$cf_cv_xt_ice_compat" >&6 if test "$cf_cv_xt_ice_compat" = no @@ -44704,22 +44816,22 @@ echo "${ECHO_T}$cf_cv_xt_ice_compat" >&6 (*) test -n "$verbose" && echo " work around broken ICE dependency" 1>&6 -echo "${as_me:-configure}:44707: testing work around broken ICE dependency ..." 1>&5 +echo "${as_me:-configure}:44819: testing work around broken ICE dependency ..." 1>&5 -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists ice; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "ice"; then test -n "$verbose" && echo " found package ice" 1>&6 -echo "${as_me:-configure}:44712: testing found package ice ..." 1>&5 +echo "${as_me:-configure}:44824: testing found package ice ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags ice 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs ice 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "ice" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "ice" 2>/dev/null`" test -n "$verbose" && echo " package ice CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:44718: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:44830: testing package ice CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package ice LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:44722: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:44834: testing package ice LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -44728,19 +44840,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -44759,7 +44871,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -44789,7 +44901,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -44835,20 +44947,20 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" -if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists sm; then +if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "sm"; then test -n "$verbose" && echo " found package sm" 1>&6 -echo "${as_me:-configure}:44841: testing found package sm ..." 1>&5 +echo "${as_me:-configure}:44953: testing found package sm ..." 1>&5 - cf_pkgconfig_incs="`$PKG_CONFIG --cflags sm 2>/dev/null`" - cf_pkgconfig_libs="`$PKG_CONFIG --libs sm 2>/dev/null`" + cf_pkgconfig_incs="`$PKG_CONFIG --cflags "sm" 2>/dev/null`" + cf_pkgconfig_libs="`$PKG_CONFIG --libs "sm" 2>/dev/null`" test -n "$verbose" && echo " package sm CFLAGS: $cf_pkgconfig_incs" 1>&6 -echo "${as_me:-configure}:44847: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5 +echo "${as_me:-configure}:44959: testing package sm CFLAGS: $cf_pkgconfig_incs ..." 1>&5 test -n "$verbose" && echo " package sm LIBS: $cf_pkgconfig_libs" 1>&6 -echo "${as_me:-configure}:44851: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5 +echo "${as_me:-configure}:44963: testing package sm LIBS: $cf_pkgconfig_libs ..." 1>&5 cf_fix_cppflags=no cf_new_cflags= @@ -44857,19 +44969,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $cf_pkgconfig_incs do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -44888,7 +45000,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -44918,7 +45030,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -44977,12 +45089,12 @@ else test -n "$verbose" && echo " ...before $LIBS" 1>&6 -echo "${as_me:-configure}:44980: testing ...before $LIBS ..." 1>&5 +echo "${as_me:-configure}:45092: testing ...before $LIBS ..." 1>&5 LIBS=`echo "$LIBS" | sed -e "s/[ ][ ]*/ /g" -e "s%-lXt %-lXt $X_PRE_LIBS %" -e 's% % %g'` test -n "$verbose" && echo " ...after $LIBS" 1>&6 -echo "${as_me:-configure}:44985: testing ...after $LIBS ..." 1>&5 +echo "${as_me:-configure}:45097: testing ...after $LIBS ..." 1>&5 fi @@ -45002,7 +45114,7 @@ else test -n "$verbose" && echo " checking additions to CFLAGS" 1>&6 -echo "${as_me:-configure}:45005: testing checking additions to CFLAGS ..." 1>&5 +echo "${as_me:-configure}:45117: testing checking additions to CFLAGS ..." 1>&5 cf_check_cflags="$CFLAGS" cf_check_cppflags="$CPPFLAGS" @@ -45014,19 +45126,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $X_CFLAGS do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -45045,7 +45157,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -45075,7 +45187,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -45087,7 +45199,7 @@ done if test -n "$cf_new_cflags" ; then test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 -echo "${as_me:-configure}:45090: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 +echo "${as_me:-configure}:45202: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_new_cflags" @@ -45097,7 +45209,7 @@ fi if test -n "$cf_new_cppflags" ; then test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 -echo "${as_me:-configure}:45100: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 +echo "${as_me:-configure}:45212: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" @@ -45107,7 +45219,7 @@ fi if test -n "$cf_new_extra_cppflags" ; then test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 -echo "${as_me:-configure}:45110: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 +echo "${as_me:-configure}:45222: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" @@ -45115,8 +45227,8 @@ echo "${as_me:-configure}:45110: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_c fi if test "x$cf_check_cflags" != "x$CFLAGS" ; then -cat >conftest.$ac_ext <<_ACEOF -#line 45119 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 45231 "configure" #include "confdefs.h" #include <stdio.h> int @@ -45127,44 +45239,44 @@ printf("Hello world"); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:45131: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:45243: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:45134: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:45137: \"$ac_try\"") >&5 + echo "$as_me:45246: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:45249: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:45140: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:45252: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 test -n "$verbose" && echo " test-compile failed. Undoing change to \$CFLAGS" 1>&6 -echo "${as_me:-configure}:45148: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 +echo "${as_me:-configure}:45260: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 if test "x$cf_check_cppflags" != "x$CPPFLAGS" ; then test -n "$verbose" && echo " but keeping change to \$CPPFLAGS" 1>&6 -echo "${as_me:-configure}:45153: testing but keeping change to \$CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:45265: testing but keeping change to \$CPPFLAGS ..." 1>&5 fi - CFLAGS="$cf_check_flags" + CFLAGS="$cf_check_cflags" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi - echo "$as_me:45161: checking for XOpenDisplay" >&5 + echo "$as_me:45273: checking for XOpenDisplay" >&5 echo $ECHO_N "checking for XOpenDisplay... $ECHO_C" >&6 if test "${ac_cv_func_XOpenDisplay+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 45167 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 45279 "configure" #include "confdefs.h" #define XOpenDisplay autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -45194,41 +45306,41 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:45198: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:45310: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:45201: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:45204: \"$ac_try\"") >&5 + echo "$as_me:45313: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:45316: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:45207: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:45319: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_XOpenDisplay=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_XOpenDisplay=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:45217: result: $ac_cv_func_XOpenDisplay" >&5 +echo "$as_me:45329: result: $ac_cv_func_XOpenDisplay" >&5 echo "${ECHO_T}$ac_cv_func_XOpenDisplay" >&6 -if test $ac_cv_func_XOpenDisplay = yes; then +if test "$ac_cv_func_XOpenDisplay" = yes; then : else - echo "$as_me:45223: checking for XOpenDisplay in -lX11" >&5 + echo "$as_me:45335: checking for XOpenDisplay in -lX11" >&5 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lX11 $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 45231 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 45343 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -45246,30 +45358,30 @@ XOpenDisplay (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:45250: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:45362: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:45253: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:45256: \"$ac_try\"") >&5 + echo "$as_me:45365: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:45368: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:45259: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:45371: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_X11_XOpenDisplay=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_X11_XOpenDisplay=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:45270: result: $ac_cv_lib_X11_XOpenDisplay" >&5 +echo "$as_me:45382: result: $ac_cv_lib_X11_XOpenDisplay" >&5 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6 -if test $ac_cv_lib_X11_XOpenDisplay = yes; then +if test "$ac_cv_lib_X11_XOpenDisplay" = yes; then cf_add_libs="$LIBS" # reverse order @@ -45291,13 +45403,13 @@ fi fi - echo "$as_me:45294: checking for XtAppInitialize" >&5 + echo "$as_me:45406: checking for XtAppInitialize" >&5 echo $ECHO_N "checking for XtAppInitialize... $ECHO_C" >&6 if test "${ac_cv_func_XtAppInitialize+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 45300 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 45412 "configure" #include "confdefs.h" #define XtAppInitialize autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -45327,41 +45439,41 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:45331: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:45443: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:45334: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:45337: \"$ac_try\"") >&5 + echo "$as_me:45446: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:45449: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:45340: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:45452: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_func_XtAppInitialize=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_func_XtAppInitialize=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:45350: result: $ac_cv_func_XtAppInitialize" >&5 +echo "$as_me:45462: result: $ac_cv_func_XtAppInitialize" >&5 echo "${ECHO_T}$ac_cv_func_XtAppInitialize" >&6 -if test $ac_cv_func_XtAppInitialize = yes; then +if test "$ac_cv_func_XtAppInitialize" = yes; then : else - echo "$as_me:45356: checking for XtAppInitialize in -lXt" >&5 + echo "$as_me:45468: checking for XtAppInitialize in -lXt" >&5 echo $ECHO_N "checking for XtAppInitialize in -lXt... $ECHO_C" >&6 if test "${ac_cv_lib_Xt_XtAppInitialize+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXt $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 45364 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 45476 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -45379,30 +45491,30 @@ XtAppInitialize (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:45383: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:45495: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:45386: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:45389: \"$ac_try\"") >&5 + echo "$as_me:45498: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:45501: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:45392: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:45504: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_Xt_XtAppInitialize=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_Xt_XtAppInitialize=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:45403: result: $ac_cv_lib_Xt_XtAppInitialize" >&5 +echo "$as_me:45515: result: $ac_cv_lib_Xt_XtAppInitialize" >&5 echo "${ECHO_T}$ac_cv_lib_Xt_XtAppInitialize" >&6 -if test $ac_cv_lib_Xt_XtAppInitialize = yes; then +if test "$ac_cv_lib_Xt_XtAppInitialize" = yes; then cat >>confdefs.h <<\EOF #define HAVE_LIBXT 1 @@ -45416,8 +45528,8 @@ fi fi -if test $cf_have_X_LIBS = no ; then - { echo "$as_me:45420: WARNING: Unable to successfully link X Toolkit library (-lXt) with +if test "$cf_have_X_LIBS" = no ; then + { echo "$as_me:45532: WARNING: Unable to successfully link X Toolkit library (-lXt) with test program. You will have to check and add the proper libraries by hand to makefile." >&5 echo "$as_me: WARNING: Unable to successfully link X Toolkit library (-lXt) with @@ -45453,19 +45565,19 @@ do done cf_test=X11/$cf_x_athena_root/SimpleMenu.h - if test $cf_path != default ; then + if test "$cf_path" != default ; then test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}-I$cf_path/include" - echo "$as_me:45461: checking for $cf_test in $cf_path" >&5 + echo "$as_me:45573: checking for $cf_test in $cf_path" >&5 echo $ECHO_N "checking for $cf_test in $cf_path... $ECHO_C" >&6 else - echo "$as_me:45464: checking for $cf_test" >&5 + echo "$as_me:45576: checking for $cf_test" >&5 echo $ECHO_N "checking for $cf_test... $ECHO_C" >&6 fi - cat >conftest.$ac_ext <<_ACEOF -#line 45468 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 45580 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> @@ -45478,26 +45590,26 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:45482: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:45594: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:45485: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:45488: \"$ac_try\"") >&5 + echo "$as_me:45597: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:45600: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:45491: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:45603: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:45500: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + echo "$as_me:45612: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 LIBS="$cf_save_LIBS_CF_X_ATHENA_CPPFLAGS" @@ -45506,14 +45618,14 @@ CPPFLAGS="$cf_save_CPPFLAGS_CF_X_ATHENA_CPPFLAGS" if test "$cf_result" = yes ; then test "$cf_path" = default && cf_x_athena_inc=default - test "$cf_path" != default && cf_x_athena_inc=$cf_path/include + test "$cf_path" != default && cf_x_athena_inc="$cf_path/include" break fi fi done if test -z "$cf_x_athena_inc" ; then - { echo "$as_me:45516: WARNING: Unable to find Athena header files" >&5 + { echo "$as_me:45628: WARNING: Unable to find Athena header files" >&5 echo "$as_me: WARNING: Unable to find Athena header files" >&2;} elif test "$cf_x_athena_inc" != default ; then @@ -45578,10 +45690,10 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" - echo "$as_me:45581: checking for $cf_test in $cf_libs" >&5 + echo "$as_me:45693: checking for $cf_test in $cf_libs" >&5 echo $ECHO_N "checking for $cf_test in $cf_libs... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 45584 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 45696 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> @@ -45596,26 +45708,26 @@ $cf_test((XtAppContext) 0) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:45600: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:45712: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:45603: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:45606: \"$ac_try\"") >&5 + echo "$as_me:45715: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:45718: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:45609: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:45721: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:45618: result: $cf_result" >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + echo "$as_me:45730: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 LIBS="$cf_save_LIBS_CF_X_ATHENA_LIBS" @@ -45632,7 +45744,7 @@ CPPFLAGS="$cf_save_CPPFLAGS_CF_X_ATHENA_LIBS" done if test -z "$cf_x_athena_lib" ; then - { { echo "$as_me:45635: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5 + { { echo "$as_me:45747: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5 echo "$as_me: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&2;} { (exit 1); exit 1; }; } fi @@ -45666,7 +45778,7 @@ if test -n "$ac_tool_prefix"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -echo "$as_me:45669: checking for $ac_word" >&5 +echo "$as_me:45781: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_XCURSES_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -45681,7 +45793,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_XCURSES_CONFIG="$ac_tool_prefix$ac_prog" -echo "$as_me:45684: found $ac_dir/$ac_word" >&5 +echo "$as_me:45796: found $ac_dir/$ac_word" >&5 break done @@ -45689,10 +45801,10 @@ fi fi XCURSES_CONFIG=$ac_cv_prog_XCURSES_CONFIG if test -n "$XCURSES_CONFIG"; then - echo "$as_me:45692: result: $XCURSES_CONFIG" >&5 + echo "$as_me:45804: result: $XCURSES_CONFIG" >&5 echo "${ECHO_T}$XCURSES_CONFIG" >&6 else - echo "$as_me:45695: result: no" >&5 + echo "$as_me:45807: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -45705,7 +45817,7 @@ if test -z "$XCURSES_CONFIG"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:45708: checking for $ac_word" >&5 +echo "$as_me:45820: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_XCURSES_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -45720,7 +45832,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_ac_ct_XCURSES_CONFIG="$ac_prog" -echo "$as_me:45723: found $ac_dir/$ac_word" >&5 +echo "$as_me:45835: found $ac_dir/$ac_word" >&5 break done @@ -45728,10 +45840,10 @@ fi fi ac_ct_XCURSES_CONFIG=$ac_cv_prog_ac_ct_XCURSES_CONFIG if test -n "$ac_ct_XCURSES_CONFIG"; then - echo "$as_me:45731: result: $ac_ct_XCURSES_CONFIG" >&5 + echo "$as_me:45843: result: $ac_ct_XCURSES_CONFIG" >&5 echo "${ECHO_T}$ac_ct_XCURSES_CONFIG" >&6 else - echo "$as_me:45734: result: no" >&5 + echo "$as_me:45846: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -45751,19 +45863,19 @@ cf_new_extra_cppflags= for cf_add_cflags in `$XCURSES_CONFIG --cflags` do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -45782,7 +45894,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -45812,7 +45924,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -45866,7 +45978,7 @@ LDFLAGS="$LDFLAGS $X_LIBS" test -n "$verbose" && echo " checking additions to CFLAGS" 1>&6 -echo "${as_me:-configure}:45869: testing checking additions to CFLAGS ..." 1>&5 +echo "${as_me:-configure}:45981: testing checking additions to CFLAGS ..." 1>&5 cf_check_cflags="$CFLAGS" cf_check_cppflags="$CPPFLAGS" @@ -45878,19 +45990,19 @@ cf_new_extra_cppflags= for cf_add_cflags in $X_CFLAGS do -case $cf_fix_cppflags in +case "$cf_fix_cppflags" in (no) - case $cf_add_cflags in + case "$cf_add_cflags" in (-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^-D[^=]*='\''\"[^"]*//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ && cf_fix_cppflags=yes - if test $cf_fix_cppflags = yes ; then + if test "$cf_fix_cppflags" = yes ; then test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" @@ -45909,7 +46021,7 @@ case $cf_fix_cppflags in (*$cf_add_cflags) ;; (*) - case $cf_add_cflags in + case "$cf_add_cflags" in (-D*) cf_tst_cppflags=`echo "x$cf_add_cflags" | sed -e 's/^...//' -e 's/=.*//'` @@ -45939,7 +46051,7 @@ CPPFLAGS=`echo "$CPPFLAGS" | \ test -n "$cf_new_extra_cppflags" && cf_new_extra_cppflags="$cf_new_extra_cppflags " cf_new_extra_cppflags="${cf_new_extra_cppflags}$cf_add_cflags" - cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'` + cf_tst_cflags=`echo "${cf_add_cflags}" |sed -e 's/^[^"]*"'\''//'` test "x${cf_add_cflags}" != "x${cf_tst_cflags}" \ && test -z "${cf_tst_cflags}" \ @@ -45951,7 +46063,7 @@ done if test -n "$cf_new_cflags" ; then test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 -echo "${as_me:-configure}:45954: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 +echo "${as_me:-configure}:46066: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 test -n "$CFLAGS" && CFLAGS="$CFLAGS " CFLAGS="${CFLAGS}$cf_new_cflags" @@ -45961,7 +46073,7 @@ fi if test -n "$cf_new_cppflags" ; then test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 -echo "${as_me:-configure}:45964: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 +echo "${as_me:-configure}:46076: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" @@ -45971,7 +46083,7 @@ fi if test -n "$cf_new_extra_cppflags" ; then test -n "$verbose" && echo " add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6 -echo "${as_me:-configure}:45974: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 +echo "${as_me:-configure}:46086: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS " EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags" @@ -45979,8 +46091,8 @@ echo "${as_me:-configure}:45974: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_c fi if test "x$cf_check_cflags" != "x$CFLAGS" ; then -cat >conftest.$ac_ext <<_ACEOF -#line 45983 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 46095 "configure" #include "confdefs.h" #include <stdio.h> int @@ -45991,46 +46103,46 @@ printf("Hello world"); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:45995: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:46107: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:45998: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:46001: \"$ac_try\"") >&5 + echo "$as_me:46110: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:46113: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46004: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46116: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 test -n "$verbose" && echo " test-compile failed. Undoing change to \$CFLAGS" 1>&6 -echo "${as_me:-configure}:46012: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 +echo "${as_me:-configure}:46124: testing test-compile failed. Undoing change to \$CFLAGS ..." 1>&5 if test "x$cf_check_cppflags" != "x$CPPFLAGS" ; then test -n "$verbose" && echo " but keeping change to \$CPPFLAGS" 1>&6 -echo "${as_me:-configure}:46017: testing but keeping change to \$CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:46129: testing but keeping change to \$CPPFLAGS ..." 1>&5 fi - CFLAGS="$cf_check_flags" + CFLAGS="$cf_check_cflags" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:46025: checking for XOpenDisplay in -lX11" >&5 +echo "$as_me:46137: checking for XOpenDisplay in -lX11" >&5 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line 46033 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 46145 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -46048,30 +46160,30 @@ XOpenDisplay (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:46052: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:46164: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:46055: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:46058: \"$ac_try\"") >&5 + echo "$as_me:46167: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:46170: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46061: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46173: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then ac_cv_lib_X11_XOpenDisplay=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 ac_cv_lib_X11_XOpenDisplay=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:46072: result: $ac_cv_lib_X11_XOpenDisplay" >&5 +echo "$as_me:46184: result: $ac_cv_lib_X11_XOpenDisplay" >&5 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6 -if test $ac_cv_lib_X11_XOpenDisplay = yes; then +if test "$ac_cv_lib_X11_XOpenDisplay" = yes; then cf_add_libs="$LIBS" # reverse order @@ -46091,7 +46203,7 @@ LIBS="$cf_add_libs" fi -echo "$as_me:46094: checking for XCurses library" >&5 +echo "$as_me:46206: checking for XCurses library" >&5 echo $ECHO_N "checking for XCurses library... $ECHO_C" >&6 if test "${cf_cv_lib_XCurses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -46113,8 +46225,8 @@ for cf_add_1lib in $cf_add_0lib; do done LIBS="$cf_add_libs" -cat >conftest.$ac_ext <<_ACEOF -#line 46117 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 46229 "configure" #include "confdefs.h" #include <xcurses.h> @@ -46128,33 +46240,33 @@ XCursesExit(); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:46132: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:46244: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:46135: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:46138: \"$ac_try\"") >&5 + echo "$as_me:46247: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:46250: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46141: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46253: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_lib_XCurses=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_lib_XCurses=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:46152: result: $cf_cv_lib_XCurses" >&5 +echo "$as_me:46264: result: $cf_cv_lib_XCurses" >&5 echo "${ECHO_T}$cf_cv_lib_XCurses" >&6 fi -if test $cf_cv_lib_XCurses = yes ; then +if test "$cf_cv_lib_XCurses" = yes ; then cat >>confdefs.h <<\EOF #define UNIX 1 @@ -46164,24 +46276,24 @@ cat >>confdefs.h <<\EOF #define XCURSES 1 EOF - echo "$as_me:46167: checking for xcurses.h" >&5 + echo "$as_me:46279: checking for xcurses.h" >&5 echo $ECHO_N "checking for xcurses.h... $ECHO_C" >&6 if test "${ac_cv_header_xcurses_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 46173 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46285 "configure" #include "confdefs.h" #include <xcurses.h> _ACEOF -if { (eval echo "$as_me:46177: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:46289: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:46183: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:46295: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -46194,14 +46306,14 @@ if test -z "$ac_cpp_err"; then ac_cv_header_xcurses_h=yes else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 ac_cv_header_xcurses_h=no fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:46202: result: $ac_cv_header_xcurses_h" >&5 +echo "$as_me:46314: result: $ac_cv_header_xcurses_h" >&5 echo "${ECHO_T}$ac_cv_header_xcurses_h" >&6 -if test $ac_cv_header_xcurses_h = yes; then +if test "$ac_cv_header_xcurses_h" = yes; then cat >>confdefs.h <<\EOF #define HAVE_XCURSES 1 @@ -46210,7 +46322,7 @@ EOF fi else - { { echo "$as_me:46213: error: Cannot link with XCurses" >&5 + { { echo "$as_me:46325: error: Cannot link with XCurses" >&5 echo "$as_me: error: Cannot link with XCurses" >&2;} { (exit 1); exit 1; }; } fi @@ -46219,7 +46331,7 @@ fi esac else -echo "$as_me:46222: checking if we can include termio.h with curses" >&5 +echo "$as_me:46334: checking if we can include termio.h with curses" >&5 echo $ECHO_N "checking if we can include termio.h with curses... $ECHO_C" >&6 if test "${cf_cv_termio_and_curses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -46228,8 +46340,8 @@ else cf_save_CFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H -I. -I${srcdir:-.} -I${srcdir:-.}/src -I${srcdir:-.}/WWW/Library/Implementation" touch lynx_cfg.h - cat >conftest.$ac_ext <<_ACEOF -#line 46232 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46344 "configure" #include "confdefs.h" #include <LYCurses.h> @@ -46242,33 +46354,33 @@ putchar(0x0a) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:46246: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:46358: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:46249: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:46252: \"$ac_try\"") >&5 + echo "$as_me:46361: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:46364: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46255: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46367: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_termio_and_curses=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_termio_and_curses=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save_CFLAGS" rm -f lynx_cfg.h fi -echo "$as_me:46268: result: $cf_cv_termio_and_curses" >&5 +echo "$as_me:46380: result: $cf_cv_termio_and_curses" >&5 echo "${ECHO_T}$cf_cv_termio_and_curses" >&6 -test $cf_cv_termio_and_curses = yes && +test "$cf_cv_termio_and_curses" = yes && cat >>confdefs.h <<\EOF #define TERMIO_AND_CURSES 1 EOF @@ -46276,30 +46388,30 @@ EOF fi ### These tests must be run after establishing the curses library. -if test $cf_cv_screen != slang ; then - if test $cf_cv_screen != pdcurses ; then +if test "$cf_cv_screen" != slang ; then + if test "$cf_cv_screen" != pdcurses ; then for ac_header in $cf_cv_screen/term.h term.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:46285: checking for $ac_header" >&5 +echo "$as_me:46397: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 46291 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46403 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:46295: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:46407: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:46301: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:46413: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -46312,14 +46424,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:46320: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:46432: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -46329,7 +46441,7 @@ done fi -echo "$as_me:46332: checking if curses supports alternate-character set" >&5 +echo "$as_me:46444: checking if curses supports alternate-character set" >&5 echo $ECHO_N "checking if curses supports alternate-character set... $ECHO_C" >&6 if test "${cf_cv_alt_char_set+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -46337,8 +46449,8 @@ else for mapname in acs_map _acs_map do - cat >conftest.$ac_ext <<_ACEOF -#line 46341 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46453 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -46346,50 +46458,50 @@ do int main (void) { -chtype x = $mapname['l']; $mapname['m'] = 0 +chtype x = ${mapname}['l']; ${mapname}['m'] = 0 ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:46355: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:46467: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:46358: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:46361: \"$ac_try\"") >&5 + echo "$as_me:46470: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:46473: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46364: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46476: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_alt_char_set=$mapname break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_alt_char_set=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -echo "$as_me:46378: result: $cf_cv_alt_char_set" >&5 +echo "$as_me:46490: result: $cf_cv_alt_char_set" >&5 echo "${ECHO_T}$cf_cv_alt_char_set" >&6 -test $cf_cv_alt_char_set != no && +test "$cf_cv_alt_char_set" != no && cat >>confdefs.h <<EOF #define ALT_CHAR_SET $cf_cv_alt_char_set EOF -echo "$as_me:46385: checking if curses supports fancy attributes" >&5 +echo "$as_me:46497: checking if curses supports fancy attributes" >&5 echo $ECHO_N "checking if curses supports fancy attributes... $ECHO_C" >&6 if test "${cf_cv_fancy_curses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 46392 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46504 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -46406,36 +46518,36 @@ attrset(A_UNDERLINE|A_BOLD|A_REVERSE); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:46410: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:46522: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:46413: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:46416: \"$ac_try\"") >&5 + echo "$as_me:46525: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:46528: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46419: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46531: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_fancy_curses=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_fancy_curses=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:46431: result: $cf_cv_fancy_curses" >&5 +echo "$as_me:46543: result: $cf_cv_fancy_curses" >&5 echo "${ECHO_T}$cf_cv_fancy_curses" >&6 -test $cf_cv_fancy_curses = yes && +test "$cf_cv_fancy_curses" = yes && cat >>confdefs.h <<\EOF #define FANCY_CURSES 1 EOF -echo "$as_me:46438: checking for function curses_version" >&5 +echo "$as_me:46550: checking for function curses_version" >&5 echo $ECHO_N "checking for function curses_version... $ECHO_C" >&6 if test "${cf_cv_func_curses_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -46444,44 +46556,44 @@ else if test "$cross_compiling" = yes; then cf_cv_func_curses_version=unknown else - cat >conftest.$ac_ext <<_ACEOF -#line 46448 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46560 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int main(void) { char temp[1024]; - sprintf(temp, "%s\n", curses_version()); + sprintf(temp, "%s\\n", curses_version()); ${cf_cv_main_return:-return}(0); } _ACEOF -rm -f conftest$ac_exeext -if { (eval echo "$as_me:46461: \"$ac_link\"") >&5 +rm -f "conftest$ac_exeext" +if { (eval echo "$as_me:46573: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:46464: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:46466: \"$ac_try\"") >&5 + echo "$as_me:46576: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' + { (eval echo "$as_me:46578: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46469: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46581: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_func_curses_version=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_func_curses_version=no fi -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi rm -f core fi -echo "$as_me:46484: result: $cf_cv_func_curses_version" >&5 +echo "$as_me:46596: result: $cf_cv_func_curses_version" >&5 echo "${ECHO_T}$cf_cv_func_curses_version" >&6 test "$cf_cv_func_curses_version" = yes && cat >>confdefs.h <<\EOF @@ -46489,14 +46601,14 @@ cat >>confdefs.h <<\EOF EOF if test "$cf_cv_ncurses_version" != no ; then -echo "$as_me:46492: checking for obsolete/broken version of ncurses" >&5 +echo "$as_me:46604: checking for obsolete/broken version of ncurses" >&5 echo $ECHO_N "checking for obsolete/broken version of ncurses... $ECHO_C" >&6 if test "${cf_cv_ncurses_broken+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 46499 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 46611 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -46514,32 +46626,32 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:46518: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:46630: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:46521: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:46524: \"$ac_try\"") >&5 + echo "$as_me:46633: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:46636: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46527: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46639: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_ncurses_broken=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_ncurses_broken=yes fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:46539: result: $cf_cv_ncurses_broken" >&5 +echo "$as_me:46651: result: $cf_cv_ncurses_broken" >&5 echo "${ECHO_T}$cf_cv_ncurses_broken" >&6 if test "$cf_cv_ncurses_broken" = yes ; then - { echo "$as_me:46542: WARNING: hmm... you should get an up-to-date version of ncurses" >&5 + { echo "$as_me:46654: WARNING: hmm... you should get an up-to-date version of ncurses" >&5 echo "$as_me: WARNING: hmm... you should get an up-to-date version of ncurses" >&2;} cat >>confdefs.h <<\EOF @@ -46549,14 +46661,14 @@ EOF fi fi -echo "$as_me:46552: checking if curses supports color attributes" >&5 +echo "$as_me:46664: checking if curses supports color attributes" >&5 echo $ECHO_N "checking if curses supports color attributes... $ECHO_C" >&6 if test "${cf_cv_color_curses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 46559 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46671 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -46575,31 +46687,31 @@ chtype x = COLOR_BLUE; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:46579: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:46691: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:46582: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:46585: \"$ac_try\"") >&5 + echo "$as_me:46694: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:46697: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46588: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46700: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_color_curses=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_color_curses=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:46600: result: $cf_cv_color_curses" >&5 +echo "$as_me:46712: result: $cf_cv_color_curses" >&5 echo "${ECHO_T}$cf_cv_color_curses" >&6 -if test $cf_cv_color_curses = yes ; then +if test "$cf_cv_color_curses" = yes ; then cat >>confdefs.h <<\EOF #define COLOR_CURSES 1 @@ -46621,24 +46733,24 @@ sys/termio.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:46624: checking for $ac_header" >&5 +echo "$as_me:46736: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 46630 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46742 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:46634: \"$ac_cpp conftest.$ac_ext\"") >&5 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 +if { (eval echo "$as_me:46746: \"$ac_cpp "conftest.$ac_ext"\"") >&5 + (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? - egrep -v '^ *\+' conftest.er1 >conftest.err + $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:46640: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null; then + echo "$as_me:46752: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else @@ -46651,14 +46763,14 @@ if test -z "$ac_cpp_err"; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 + cat "conftest.$ac_ext" >&5 eval "$as_ac_Header=no" fi -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:46659: result: `eval echo '${'$as_ac_Header'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 -if test `eval echo '${'$as_ac_Header'}'` = yes; then +echo "$as_me:46771: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 +if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 EOF @@ -46673,10 +46785,10 @@ if test "$ac_cv_header_termios_h" = yes ; then (*) termios_bad=maybe ;; esac if test "$termios_bad" = maybe ; then - echo "$as_me:46676: checking whether termios.h needs _POSIX_SOURCE" >&5 + echo "$as_me:46788: checking whether termios.h needs _POSIX_SOURCE" >&5 echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF -#line 46679 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46791 "configure" #include "confdefs.h" #include <termios.h> int @@ -46687,25 +46799,25 @@ struct termios foo; int x = foo.c_iflag = 1; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:46691: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:46803: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:46694: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:46697: \"$ac_try\"") >&5 + echo "$as_me:46806: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:46809: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46700: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46812: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then termios_bad=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 - cat >conftest.$ac_ext <<_ACEOF -#line 46708 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46820 "configure" #include "confdefs.h" #define _POSIX_SOURCE @@ -46718,38 +46830,38 @@ struct termios foo; int x = foo.c_iflag = 2; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:46722: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:46834: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:46725: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:46728: \"$ac_try\"") >&5 + echo "$as_me:46837: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:46840: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46731: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46843: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then termios_bad=unknown else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 termios_bad=yes cat >>confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:46747: result: $termios_bad" >&5 +rm -f "conftest.$ac_objext" "conftest.$ac_ext" + echo "$as_me:46859: result: $termios_bad" >&5 echo "${ECHO_T}$termios_bad" >&6 fi fi -echo "$as_me:46752: checking declaration of size-change" >&5 +echo "$as_me:46864: checking declaration of size-change" >&5 echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6 if test "${cf_cv_sizechange+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -46769,8 +46881,8 @@ do CPPFLAGS="${CPPFLAGS}-D$cf_opts" fi - cat >conftest.$ac_ext <<_ACEOF -#line 46773 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46885 "configure" #include "confdefs.h" #include <sys/types.h> #ifdef HAVE_TERMIOS_H @@ -46819,25 +46931,25 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:46823: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:46935: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:46826: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:46829: \"$ac_try\"") >&5 + echo "$as_me:46938: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:46941: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46832: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:46944: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_sizechange=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_sizechange=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save_CPPFLAGS" if test "$cf_cv_sizechange" = yes ; then @@ -46848,7 +46960,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext done fi -echo "$as_me:46851: result: $cf_cv_sizechange" >&5 +echo "$as_me:46963: result: $cf_cv_sizechange" >&5 echo "${ECHO_T}$cf_cv_sizechange" >&6 if test "$cf_cv_sizechange" != no ; then @@ -46856,7 +46968,7 @@ cat >>confdefs.h <<\EOF #define HAVE_SIZECHANGE 1 EOF - case $cf_cv_sizechange in + case "$cf_cv_sizechange" in (NEED*) cat >>confdefs.h <<EOF #define $cf_cv_sizechange 1 @@ -46866,14 +46978,14 @@ EOF esac fi -echo "$as_me:46869: checking if ttytype is declared in curses library" >&5 +echo "$as_me:46981: checking if ttytype is declared in curses library" >&5 echo $ECHO_N "checking if ttytype is declared in curses library... $ECHO_C" >&6 if test "${cf_cv_have_ttytype+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 46876 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 46988 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> int @@ -46884,45 +46996,45 @@ char *x = &ttytype[1]; *x = 1 return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:46888: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:47000: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:46891: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:46894: \"$ac_try\"") >&5 + echo "$as_me:47003: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:47006: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46897: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47009: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_have_ttytype=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_have_ttytype=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:46909: result: $cf_cv_have_ttytype" >&5 +echo "$as_me:47021: result: $cf_cv_have_ttytype" >&5 echo "${ECHO_T}$cf_cv_have_ttytype" >&6 -test $cf_cv_have_ttytype = yes && +test "$cf_cv_have_ttytype" = yes && cat >>confdefs.h <<\EOF #define HAVE_TTYTYPE 1 EOF if test "$use_wide_curses" = yes ; then -echo "$as_me:46918: checking if curses supports wide characters" >&5 +echo "$as_me:47030: checking if curses supports wide characters" >&5 echo $ECHO_N "checking if curses supports wide characters... $ECHO_C" >&6 if test "${cf_cv_widec_curses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else -cat >conftest.$ac_ext <<_ACEOF -#line 46925 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 47037 "configure" #include "confdefs.h" #include <stdlib.h> @@ -46940,28 +47052,28 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:46944: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:47056: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:46947: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:46950: \"$ac_try\"") >&5 + echo "$as_me:47059: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:47062: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:46953: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47065: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_widec_curses=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_widec_curses=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:46964: result: $cf_cv_widec_curses" >&5 +echo "$as_me:47076: result: $cf_cv_widec_curses" >&5 echo "${ECHO_T}$cf_cv_widec_curses" >&6 if test "$cf_cv_widec_curses" = yes ; then @@ -46971,14 +47083,14 @@ cat >>confdefs.h <<\EOF EOF # This is needed on Tru64 5.0 to declare mbstate_t - echo "$as_me:46974: checking if we must include wchar.h to declare mbstate_t" >&5 + echo "$as_me:47086: checking if we must include wchar.h to declare mbstate_t" >&5 echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6 if test "${cf_cv_widec_mbstate+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 46981 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 47093 "configure" #include "confdefs.h" #include <stdlib.h> @@ -46991,24 +47103,24 @@ mbstate_t state; (void)state return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:46995: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:47107: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:46998: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:47001: \"$ac_try\"") >&5 + echo "$as_me:47110: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:47113: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47004: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47116: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_widec_mbstate=no else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 -cat >conftest.$ac_ext <<_ACEOF -#line 47011 "configure" +cat "conftest.$ac_ext" >&5 +cat >"conftest.$ac_ext" <<_ACEOF +#line 47123 "configure" #include "confdefs.h" #include <stdlib.h> @@ -47022,29 +47134,29 @@ mbstate_t state; (void)state return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:47026: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:47138: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:47029: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:47032: \"$ac_try\"") >&5 + echo "$as_me:47141: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:47144: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47035: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47147: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_widec_mbstate=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_widec_mbstate=unknown fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:47047: result: $cf_cv_widec_mbstate" >&5 +echo "$as_me:47159: result: $cf_cv_widec_mbstate" >&5 echo "${ECHO_T}$cf_cv_widec_mbstate" >&6 if test "$cf_cv_widec_mbstate" = yes ; then @@ -47067,15 +47179,15 @@ fi fi -echo "$as_me:47070: checking definition to turn on extended curses functions" >&5 +echo "$as_me:47182: checking definition to turn on extended curses functions" >&5 echo $ECHO_N "checking definition to turn on extended curses functions... $ECHO_C" >&6 if test "${cf_cv_need_xopen_extension+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cf_cv_need_xopen_extension=unknown -cat >conftest.$ac_ext <<_ACEOF -#line 47078 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 47190 "configure" #include "confdefs.h" #include <stdlib.h> @@ -47107,27 +47219,27 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:47111: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:47223: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:47114: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:47117: \"$ac_try\"") >&5 + echo "$as_me:47226: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:47229: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47120: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47232: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_need_xopen_extension=none else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 for cf_try_xopen_extension in _XOPEN_SOURCE_EXTENDED NCURSES_WIDECHAR do - cat >conftest.$ac_ext <<_ACEOF -#line 47130 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 47242 "configure" #include "confdefs.h" #define $cf_try_xopen_extension 1 @@ -47155,34 +47267,34 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:47159: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:47271: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:47162: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:47165: \"$ac_try\"") >&5 + echo "$as_me:47274: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:47277: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47168: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47280: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_need_xopen_extension=$cf_try_xopen_extension; break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:47182: result: $cf_cv_need_xopen_extension" >&5 +echo "$as_me:47294: result: $cf_cv_need_xopen_extension" >&5 echo "${ECHO_T}$cf_cv_need_xopen_extension" >&6 -case $cf_cv_need_xopen_extension in +case "$cf_cv_need_xopen_extension" in (*_*) test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " @@ -47191,7 +47303,7 @@ case $cf_cv_need_xopen_extension in ;; esac -echo "$as_me:47194: checking for term.h" >&5 +echo "$as_me:47306: checking for term.h" >&5 echo $ECHO_N "checking for term.h... $ECHO_C" >&6 if test "${cf_cv_term_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -47202,17 +47314,17 @@ else cf_header_list="term.h ncurses/term.h ncursesw/term.h" -case ${cf_cv_ncurses_header:-curses.h} in +case "${cf_cv_ncurses_header:-curses.h}" in (*/*) - cf_header_item=`echo ${cf_cv_ncurses_header:-curses.h} | sed -e 's%\..*%%' -e 's%/.*%/%'`term.h + cf_header_item=`echo "${cf_cv_ncurses_header:-curses.h}" | sed -e 's%\..*%%' -e 's%/.*%/%'`term.h cf_header_list="$cf_header_item $cf_header_list" ;; esac for cf_header in $cf_header_list do - cat >conftest.$ac_ext <<_ACEOF -#line 47215 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 47327 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -47225,36 +47337,36 @@ WINDOW *x; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:47229: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:47341: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:47232: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:47235: \"$ac_try\"") >&5 + echo "$as_me:47344: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:47347: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47238: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47350: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_term_header=$cf_header break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_term_header=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done -case $cf_cv_term_header in +case "$cf_cv_term_header" in (no) # If curses is ncurses, some packagers still mess it up by trying to make # us use GNU termcap. This handles the most common case. for cf_header in ncurses/term.h ncursesw/term.h do - cat >conftest.$ac_ext <<_ACEOF -#line 47257 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 47369 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -47271,35 +47383,35 @@ WINDOW *x; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:47275: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:47387: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:47278: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:47281: \"$ac_try\"") >&5 + echo "$as_me:47390: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:47393: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47284: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47396: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_term_header=$cf_header break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_term_header=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done ;; esac fi -echo "$as_me:47299: result: $cf_cv_term_header" >&5 +echo "$as_me:47411: result: $cf_cv_term_header" >&5 echo "${ECHO_T}$cf_cv_term_header" >&6 -case $cf_cv_term_header in +case "$cf_cv_term_header" in (term.h) cat >>confdefs.h <<\EOF @@ -47323,7 +47435,7 @@ EOF ;; esac -echo "$as_me:47326: checking for unctrl.h" >&5 +echo "$as_me:47438: checking for unctrl.h" >&5 echo $ECHO_N "checking for unctrl.h... $ECHO_C" >&6 if test "${cf_cv_unctrl_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -47334,17 +47446,17 @@ else cf_header_list="unctrl.h ncurses/unctrl.h ncursesw/unctrl.h" -case ${cf_cv_ncurses_header:-curses.h} in +case "${cf_cv_ncurses_header:-curses.h}" in (*/*) - cf_header_item=`echo ${cf_cv_ncurses_header:-curses.h} | sed -e 's%\..*%%' -e 's%/.*%/%'`unctrl.h + cf_header_item=`echo "${cf_cv_ncurses_header:-curses.h}" | sed -e 's%\..*%%' -e 's%/.*%/%'`unctrl.h cf_header_list="$cf_header_item $cf_header_list" ;; esac for cf_header in $cf_header_list do - cat >conftest.$ac_ext <<_ACEOF -#line 47347 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 47459 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -47357,40 +47469,40 @@ WINDOW *x; (void)x return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:47361: \"$ac_compile\"") >&5 +rm -f "conftest.$ac_objext" +if { (eval echo "$as_me:47473: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:47364: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:47367: \"$ac_try\"") >&5 + echo "$as_me:47476: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' + { (eval echo "$as_me:47479: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47370: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47482: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_cv_unctrl_header=$cf_header break else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_cv_unctrl_header=no fi -rm -f conftest.$ac_objext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:47383: result: $cf_cv_unctrl_header" >&5 +echo "$as_me:47495: result: $cf_cv_unctrl_header" >&5 echo "${ECHO_T}$cf_cv_unctrl_header" >&6 -case $cf_cv_unctrl_header in +case "$cf_cv_unctrl_header" in (no) - { echo "$as_me:47388: WARNING: unctrl.h header not found" >&5 + { echo "$as_me:47500: WARNING: unctrl.h header not found" >&5 echo "$as_me: WARNING: unctrl.h header not found" >&2;} ;; esac -case $cf_cv_unctrl_header in +case "$cf_cv_unctrl_header" in (unctrl.h) cat >>confdefs.h <<\EOF @@ -47441,10 +47553,10 @@ do cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` - echo "$as_me:47444: checking for ${cf_func}" >&5 + echo "$as_me:47556: checking for ${cf_func}" >&5 echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6 -echo "${as_me:-configure}:47447: testing ${cf_func} ..." 1>&5 +echo "${as_me:-configure}:47559: testing ${cf_func} ..." 1>&5 if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -47452,8 +47564,8 @@ else eval cf_result='$ac_cv_func_'$cf_func if test ".$cf_result" != ".no"; then - cat >conftest.$ac_ext <<_ACEOF -#line 47456 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 47568 "configure" #include "confdefs.h" #ifdef HAVE_XCURSES @@ -47476,7 +47588,7 @@ main (void) #ifndef ${cf_func} long foo = (long)(&${cf_func}); -fprintf(stderr, "testing linkage of $cf_func:%p\n", (void *)foo); +fprintf(stderr, "testing linkage of $cf_func:%p\\n", (void *)foo); if (foo + 1234L > 5678L) ${cf_cv_main_return:-return}(foo != 0); #endif @@ -47485,35 +47597,35 @@ if (foo + 1234L > 5678L) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:47489: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:47601: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:47492: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:47495: \"$ac_try\"") >&5 + echo "$as_me:47604: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:47607: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47498: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47610: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then cf_result=yes else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 cf_result=no fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi - eval 'cf_cv_func_'$cf_func'=$cf_result' + eval 'cf_cv_func_'$cf_func'="$cf_result"' fi # use the computed/retrieved cache-value: eval 'cf_result=$cf_cv_func_'$cf_func - echo "$as_me:47514: result: $cf_result" >&5 + echo "$as_me:47626: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 - if test $cf_result != no; then + if test "$cf_result" != no; then cat >>confdefs.h <<EOF #define HAVE_${cf_tr_func} 1 EOF @@ -47528,13 +47640,13 @@ for ac_func in \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:47531: checking for $ac_func" >&5 +echo "$as_me:47643: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat >conftest.$ac_ext <<_ACEOF -#line 47537 "configure" + cat >"conftest.$ac_ext" <<_ACEOF +#line 47649 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -47564,29 +47676,29 @@ main (void) return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:47568: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:47680: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:47571: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:47574: \"$ac_try\"") >&5 + echo "$as_me:47683: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:47686: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47577: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then + echo "$as_me:47689: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 eval "$as_ac_var=no" fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:47587: result: `eval echo '${'$as_ac_var'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 -if test `eval echo '${'$as_ac_var'}'` = yes; then +echo "$as_me:47699: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 +if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF @@ -47596,22 +47708,22 @@ done fi -if test $use_color_style != no ; then +if test "$use_color_style" != no ; then if test .$cf_cv_color_curses != .yes ; then - { { echo "$as_me:47601: error: Configuration does not support color-styles" >&5 + { { echo "$as_me:47713: error: Configuration does not support color-styles" >&5 echo "$as_me: error: Configuration does not support color-styles" >&2;} { (exit 1); exit 1; }; } fi - if test $cf_cv_screen = slang ; then - { { echo "$as_me:47606: error: Configuration does not support color-styles" >&5 + if test "$cf_cv_screen" = slang ; then + { { echo "$as_me:47718: error: Configuration does not support color-styles" >&5 echo "$as_me: error: Configuration does not support color-styles" >&2;} { (exit 1); exit 1; }; } fi fi -if test $use_scrollbar != no ; then +if test "$use_scrollbar" != no ; then if test .$cf_cv_fancy_curses != .yes ; then - { echo "$as_me:47614: WARNING: Configuration does not support ACS_xxx definitions" >&5 + { echo "$as_me:47726: WARNING: Configuration does not support ACS_xxx definitions" >&5 echo "$as_me: WARNING: Configuration does not support ACS_xxx definitions" >&2;} else @@ -47624,7 +47736,7 @@ fi # use rpath for libraries in unusual places -echo "$as_me:47627: checking if rpath-hack should be disabled" >&5 +echo "$as_me:47739: checking if rpath-hack should be disabled" >&5 echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6 # Check whether --enable-rpath-hack or --disable-rpath-hack was given. @@ -47641,21 +47753,21 @@ else cf_disable_rpath_hack=no fi; -echo "$as_me:47644: result: $cf_disable_rpath_hack" >&5 +echo "$as_me:47756: result: $cf_disable_rpath_hack" >&5 echo "${ECHO_T}$cf_disable_rpath_hack" >&6 if test "$cf_disable_rpath_hack" = no ; then -echo "$as_me:47648: checking for updated LDFLAGS" >&5 +echo "$as_me:47760: checking for updated LDFLAGS" >&5 echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6 if test -n "$LD_RPATH_OPT" ; then - echo "$as_me:47651: result: maybe" >&5 + echo "$as_me:47763: result: maybe" >&5 echo "${ECHO_T}maybe" >&6 for ac_prog in ldd do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:47658: checking for $ac_word" >&5 +echo "$as_me:47770: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -47670,7 +47782,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_cf_ldd_prog="$ac_prog" -echo "$as_me:47673: found $ac_dir/$ac_word" >&5 +echo "$as_me:47785: found $ac_dir/$ac_word" >&5 break done @@ -47678,10 +47790,10 @@ fi fi cf_ldd_prog=$ac_cv_prog_cf_ldd_prog if test -n "$cf_ldd_prog"; then - echo "$as_me:47681: result: $cf_ldd_prog" >&5 + echo "$as_me:47793: result: $cf_ldd_prog" >&5 echo "${ECHO_T}$cf_ldd_prog" >&6 else - echo "$as_me:47684: result: no" >&5 + echo "$as_me:47796: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -47694,8 +47806,8 @@ test -n "$cf_ldd_prog" || cf_ldd_prog="no" then cf_rpath_oops= -cat >conftest.$ac_ext <<_ACEOF -#line 47698 "configure" +cat >"conftest.$ac_ext" <<_ACEOF +#line 47810 "configure" #include "confdefs.h" #include <stdio.h> int @@ -47706,25 +47818,25 @@ printf("Hello"); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:47710: \"$ac_link\"") >&5 +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:47822: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:47713: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:47716: \"$ac_try\"") >&5 + echo "$as_me:47825: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:47828: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:47719: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cf_rpath_oops=`$cf_ldd_prog conftest$ac_exeext | fgrep ' not found' | sed -e 's% =>.*$%%' |sort | uniq` - cf_rpath_list=`$cf_ldd_prog conftest$ac_exeext | fgrep / | sed -e 's%^.*[ ]/%/%' -e 's%/[^/][^/]*$%%' |sort | uniq` + echo "$as_me:47831: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_oops=`"$cf_ldd_prog" "conftest$ac_exeext" | fgrep ' not found' | sed -e 's% =>.*$%%' |sort | uniq` + cf_rpath_list=`"$cf_ldd_prog" "conftest$ac_exeext" | fgrep / | sed -e 's%^.*[ ]/%/%' -e 's%/[^/][^/]*$%%' |sort | uniq` else echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 +cat "conftest.$ac_ext" >&5 fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" # If we passed the link-test, but get a "not found" on a given library, # this could be due to inept reconfiguration of gcc to make it only @@ -47740,11 +47852,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext /usr/pkg \ /opt/sfw do - if test -f $cf_rpath_dir/lib/$cf_rpath_src + if test -f "$cf_rpath_dir/lib/$cf_rpath_src" then test -n "$verbose" && echo " ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6 -echo "${as_me:-configure}:47747: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 +echo "${as_me:-configure}:47859: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib" break @@ -47756,16 +47868,16 @@ echo "${as_me:-configure}:47747: testing ...adding -L$cf_rpath_dir/lib to LDFLAG test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 -echo "${as_me:-configure}:47759: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:47871: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6 -echo "${as_me:-configure}:47763: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:47875: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 cf_rpath_dst= for cf_rpath_src in $LDFLAGS do - case $cf_rpath_src in + case "$cf_rpath_src" in (-L*) # check if this refers to a directory which we will ignore @@ -47797,7 +47909,7 @@ do then test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 -echo "${as_me:-configure}:47800: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 +echo "${as_me:-configure}:47912: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" fi @@ -47810,16 +47922,16 @@ LDFLAGS=$cf_rpath_dst test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6 -echo "${as_me:-configure}:47813: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:47925: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6 -echo "${as_me:-configure}:47817: testing ...checking LIBS $LIBS ..." 1>&5 +echo "${as_me:-configure}:47929: testing ...checking LIBS $LIBS ..." 1>&5 cf_rpath_dst= for cf_rpath_src in $LIBS do - case $cf_rpath_src in + case "$cf_rpath_src" in (-L*) # check if this refers to a directory which we will ignore @@ -47851,7 +47963,7 @@ do then test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 -echo "${as_me:-configure}:47854: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 +echo "${as_me:-configure}:47966: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" fi @@ -47864,20 +47976,20 @@ LIBS=$cf_rpath_dst test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6 -echo "${as_me:-configure}:47867: testing ...checked LIBS $LIBS ..." 1>&5 +echo "${as_me:-configure}:47979: testing ...checked LIBS $LIBS ..." 1>&5 test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 -echo "${as_me:-configure}:47871: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:47983: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 else - echo "$as_me:47874: result: no" >&5 + echo "$as_me:47986: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi -if ( test "$GCC" = yes || test "$GXX" = yes ) +if test "$GCC" = yes || test "$GXX" = yes then test -n "$CFLAGS" && CFLAGS="$CFLAGS " @@ -47892,7 +48004,7 @@ test -z "$CONFIG_SHELL" && CONFIG_SHELL=/bin/sh srcdir="$srcdir" SRCDIR_CLEAN="#" if test -n "$srcdir" ; then - echo srcdir is $srcdir + echo "srcdir is $srcdir" mkdir -p WWW/Library/Implementation mkdir -p src/chrtrans test "$USE_INCLUDED_LIBINTL" = yes && mkdir -p intl @@ -47983,12 +48095,12 @@ fi DEFS=-DHAVE_CONFIG_H -: ${CONFIG_STATUS=./config.status} +: "${CONFIG_STATUS=./config.status}" ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:47989: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:48101: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF +cat >"$CONFIG_STATUS" <<_ACEOF #! $SHELL # Generated automatically by configure. # Run this file to recreate the current configuration. @@ -48003,7 +48115,7 @@ CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>"$CONFIG_STATUS" <<\_ACEOF # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh @@ -48043,9 +48155,9 @@ as_executable_p="test -f" # Support unset when possible. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then - as_unset=unset + as_unset="unset" else - as_unset=false + as_unset="false" fi # NLS nuisances. @@ -48073,22 +48185,22 @@ _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS + echo "config_files=\"$ac_config_files\"" >>"$CONFIG_STATUS" fi if test -n "$ac_config_headers"; then - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS + echo "config_headers=\"$ac_config_headers\"" >>"$CONFIG_STATUS" fi if test -n "$ac_config_links"; then - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS + echo "config_links=\"$ac_config_links\"" >>"$CONFIG_STATUS" fi if test -n "$ac_config_commands"; then - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS + echo "config_commands=\"$ac_config_commands\"" >>"$CONFIG_STATUS" fi -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the @@ -48117,21 +48229,22 @@ $config_commands Report bugs to <dickey@invisible-island.net>." EOF -cat >>$CONFIG_STATUS <<EOF +cat >>"$CONFIG_STATUS" <<EOF ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.52.20200802, +configured by $0, generated by GNU Autoconf 2.52.20210101, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" +Copyright 2003-2020,2021 Thomas E. Dickey Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." -srcdir=$srcdir +srcdir="$srcdir" INSTALL="$INSTALL" EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: @@ -48154,17 +48267,17 @@ do case $1 in # Handling of the options. EOF -cat >>$CONFIG_STATUS <<EOF +cat >>"$CONFIG_STATUS" <<EOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:48167: error: ambiguous option: $1 + { { echo "$as_me:48280: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -48183,7 +48296,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:48186: error: unrecognized option: $1 + -*) { { echo "$as_me:48299: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} @@ -48202,18 +48315,18 @@ cat >&5 << _ACEOF ## Running config.status. ## ## ----------------------- ## -This file was extended by $as_me 2.52.20200802, executed with +This file was extended by $as_me 2.52.20210101, executed with CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS - > $ac_cs_invocation + > "$ac_cs_invocation" on `(hostname || uname -n) 2>/dev/null | sed 1q` _ACEOF EOF -cat >>$CONFIG_STATUS <<EOF +cat >>"$CONFIG_STATUS" <<EOF # # INIT-COMMANDS section. # @@ -48223,7 +48336,7 @@ cat >>$CONFIG_STATUS <<EOF EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in @@ -48236,7 +48349,7 @@ do "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "$CONFIG_H" ) CONFIG_HEADERS="$CONFIG_HEADERS $CONFIG_H:config.hin" ;; - *) { { echo "$as_me:48239: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:48352: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -48246,7 +48359,7 @@ done # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then +if "$ac_need_defaults"; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands @@ -48276,7 +48389,7 @@ $debug || EOF -cat >>$CONFIG_STATUS <<EOF +cat >>"$CONFIG_STATUS" <<EOF # # CONFIG_FILES section. @@ -48345,6 +48458,8 @@ s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@EXTRA_CPPFLAGS@,$EXTRA_CPPFLAGS,;t t s,@CPP@,$CPP,;t t +s,@GREP@,$GREP,;t t +s,@EGREP@,$EGREP,;t t s,@LN_S@,$LN_S,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t @@ -48462,7 +48577,7 @@ CEOF EOF - cat >>$CONFIG_STATUS <<\EOF + cat >>"$CONFIG_STATUS" <<\EOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 @@ -48471,8 +48586,8 @@ EOF ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= - while $ac_more_lines; do - if test $ac_beg -gt 1; then + while "$ac_more_lines"; do + if test "$ac_beg" -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag @@ -48489,15 +48604,15 @@ EOF # It is possible to make a multiline substitution using escaped newlines. # Ensure that we do not split the substitution between script fragments. ac_BEG=$ac_end - ac_END=`expr $ac_end + $ac_max_sed_lines` + ac_END=`expr "$ac_end" + "$ac_max_sed_lines"` sed "1,${ac_BEG}d; ${ac_END}p; q" $tmp/subs.sed >$tmp/subs.next if test -s $tmp/subs.next; then grep '^s,@[^@,][^@,]*@,.*\\$' $tmp/subs.next >$tmp/subs.edit if test ! -s $tmp/subs.edit; then grep "^s,@[^@,][^@,]*@,.*,;t t$" $tmp/subs.next >$tmp/subs.edit if test ! -s $tmp/subs.edit; then - if test $ac_beg -gt 1; then - ac_end=`expr $ac_end - 1` + if test "$ac_beg" -gt 1; then + ac_end=`expr "$ac_end" - 1` continue fi fi @@ -48509,9 +48624,9 @@ EOF else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi - ac_sed_frag=`expr $ac_sed_frag + 1` + ac_sed_frag=`expr "$ac_sed_frag" + 1` ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_lines` + ac_end=`expr "$ac_end" + "$ac_max_sed_lines"` fi done if test -z "$ac_sed_cmds"; then @@ -48520,10 +48635,10 @@ EOF fi # test -n "$CONFIG_FILES" EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in + case "$ac_file" in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` @@ -48569,19 +48684,19 @@ done; } ac_dir_suffix= ac_dots= fi - case $srcdir in + case "$srcdir" in .) ac_srcdir=. if test -z "$ac_dots"; then ac_top_srcdir=. else - ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` + ac_top_srcdir=`echo "$ac_dots" | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; + ac_srcdir="$srcdir$ac_dir_suffix"; + ac_top_srcdir="$srcdir" ;; *) # Relative path. - ac_srcdir=$ac_dots$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_dots$srcdir ;; + ac_srcdir="$ac_dots$srcdir$ac_dir_suffix" + ac_top_srcdir="$ac_dots$srcdir" ;; esac case $INSTALL in @@ -48590,7 +48705,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:48593: creating $ac_file" >&5 + { echo "$as_me:48708: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -48608,7 +48723,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:48611: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:48726: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -48618,35 +48733,35 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $f elif test -f "$srcdir/$f"; then # Source tree - echo $srcdir/$f + echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:48624: error: cannot find input file: $f" >&5 + { { echo "$as_me:48739: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF ac_warn_datarootdir=no if test x"$ac_file" != x-; then for ac_item in $ac_file_inputs do - ac_seen=`grep '@\(datadir\|mandir\|infodir\)@' $ac_item` + ac_seen=`grep '@\(datadir\|mandir\|infodir\)@' "$ac_item"` if test -n "$ac_seen"; then - ac_used=`grep '@datarootdir@' $ac_item` + ac_used=`grep '@datarootdir@' "$ac_item"` if test -z "$ac_used"; then - { echo "$as_me:48640: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:48755: WARNING: datarootdir was used implicitly but not set: $ac_seen" >&5 echo "$as_me: WARNING: datarootdir was used implicitly but not set: $ac_seen" >&2;} ac_warn_datarootdir=yes fi fi - ac_seen=`grep '${datarootdir}' $ac_item` + ac_seen=`grep '${datarootdir}' "$ac_item"` if test -n "$ac_seen"; then - { echo "$as_me:48649: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:48764: WARNING: datarootdir was used explicitly but not set: $ac_seen" >&5 echo "$as_me: WARNING: datarootdir was used explicitly but not set: $ac_seen" >&2;} @@ -48660,11 +48775,11 @@ if test "x$ac_warn_datarootdir" = xyes; then fi EOF -cat >>$CONFIG_STATUS <<EOF +cat >>"$CONFIG_STATUS" <<EOF sed "$ac_vpsub $extrasub EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;t t @@ -48674,27 +48789,27 @@ s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then - cp $tmp/out $ac_file + cp "$tmp/out" "$ac_file" for ac_name in prefix exec_prefix datarootdir do - ac_seen=`fgrep -n '${'$ac_name'[:=].*}' $ac_file` + ac_seen=`${FGREP-fgrep} -n '${'$ac_name'[:=].*}' "$ac_file"` if test -n "$ac_seen"; then - ac_init=`egrep '[ ]*'$ac_name'[ ]*=' $ac_file` + ac_init=`${EGREP-egrep} '[ ]*'$ac_name'[ ]*=' "$ac_file"` if test -z "$ac_init"; then ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` - { echo "$as_me:48686: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:48801: WARNING: Variable $ac_name is used but was not set: $ac_seen" >&5 echo "$as_me: WARNING: Variable $ac_name is used but was not set: $ac_seen" >&2;} fi fi done - egrep -n '@[a-z_][a-z_0-9]+@' $ac_file >$tmp/out - egrep -n '@[A-Z_][A-Z_0-9]+@' $ac_file >>$tmp/out + ${EGREP-egrep} -n '@[a-z_][a-z_0-9]+@' "$ac_file" >$tmp/out + ${EGREP-egrep} -n '@[A-Z_][A-Z_0-9]+@' "$ac_file" >>$tmp/out if test -s $tmp/out; then ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out` - { echo "$as_me:48697: WARNING: Some variables may not be substituted: + { echo "$as_me:48812: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -48706,7 +48821,7 @@ $ac_seen" >&2;} done EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF # # CONFIG_HEADER section. @@ -48733,7 +48848,7 @@ ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in + case "$ac_file" in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` @@ -48743,7 +48858,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:48746: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:48861: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -48754,7 +48869,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:48757: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:48872: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -48764,10 +48879,10 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $f elif test -f "$srcdir/$f"; then # Source tree - echo $srcdir/$f + echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:48770: error: cannot find input file: $f" >&5 + { { echo "$as_me:48885: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -48819,60 +48934,60 @@ EOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS -echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS -echo ' :' >>$CONFIG_STATUS +echo ' # Handle all the #define templates only if necessary.' >>"$CONFIG_STATUS" +echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>"$CONFIG_STATUS" +echo ' # If there are no defines, we may have an empty if/fi' >>"$CONFIG_STATUS" +echo ' :' >>"$CONFIG_STATUS" rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS + echo ' cat >$tmp/defines.sed <<CEOF' >>"$CONFIG_STATUS" # Speed up: don't consider the non `#define' lines. - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS + echo '/^[ ]*#[ ]*define/!b' >>"$CONFIG_STATUS" # Work around the forget-to-reset-the-flag bug. - echo 't clr' >>$CONFIG_STATUS - echo ': clr' >>$CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS + echo 't clr' >>"$CONFIG_STATUS" + echo ': clr' >>"$CONFIG_STATUS" + sed "${ac_max_here_lines}q" conftest.defines >>"$CONFIG_STATUS" echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in -' >>$CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail +' >>"$CONFIG_STATUS" + sed "1,${ac_max_here_lines}d" conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines -echo ' fi # egrep' >>$CONFIG_STATUS -echo >>$CONFIG_STATUS +echo ' fi # egrep' >>"$CONFIG_STATUS" +echo >>"$CONFIG_STATUS" # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS +echo ' # Handle all the #undef templates' >>"$CONFIG_STATUS" rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS + echo ' cat >$tmp/undefs.sed <<CEOF' >>"$CONFIG_STATUS" # Speed up: don't consider the non `#undef' - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS + echo '/^[ ]*#[ ]*undef/!b' >>"$CONFIG_STATUS" # Work around the forget-to-reset-the-flag bug. - echo 't clr' >>$CONFIG_STATUS - echo ': clr' >>$CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS + echo 't clr' >>"$CONFIG_STATUS" + echo ': clr' >>"$CONFIG_STATUS" + sed "${ac_max_here_lines}q" conftest.undefs >>"$CONFIG_STATUS" echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in -' >>$CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail +' >>"$CONFIG_STATUS" + sed "1,${ac_max_here_lines}d" conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated automatically by config.status. */ @@ -48884,8 +48999,8 @@ cat >>$CONFIG_STATUS <<\EOF cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then - if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:48888: $ac_file is unchanged" >&5 + if cmp -s "$ac_file" "$tmp/config.h" 2>/dev/null; then + { echo "$as_me:49003: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ @@ -48917,8 +49032,8 @@ for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do done; } fi - rm -f $ac_file - mv $tmp/config.h $ac_file + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" fi else cat $tmp/config.h @@ -48926,7 +49041,7 @@ done; } fi done EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF # # CONFIG_COMMANDS section. # @@ -48934,7 +49049,7 @@ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` - case $ac_dest in + case "$ac_dest" in default-1 ) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" @@ -48946,10 +49061,10 @@ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue case "$ac_file" in (*/[Mm]akefile.in) # Adjust a relative srcdir. - ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir="`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`" ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" - ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` - ac_base=`basename $ac_file .in` + ac_dots="`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`" + ac_base="`basename $ac_file .in`" # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" @@ -48973,7 +49088,7 @@ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue default ) if test "$USE_NLS" = yes ; then if test "$use_our_messages" = yes ; then - echo creating po/makefile + echo "creating po/makefile" rm -f po/temp$$ sed -e 's%^.*LYMessages.c% ../LYMessages.c%' \ -e '$s/\\//' po/POTFILES >po/temp$$ @@ -48987,11 +49102,11 @@ for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue done EOF -cat >>$CONFIG_STATUS <<\EOF +cat >>"$CONFIG_STATUS" <<\EOF { (exit 0); exit 0; } EOF -chmod +x $CONFIG_STATUS +chmod +x "$CONFIG_STATUS" ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. @@ -49005,10 +49120,10 @@ ac_clean_files=$ac_clean_files_save if test "$no_create" != yes; then ac_cs_success=: exec 5>/dev/null - $SHELL $CONFIG_STATUS || ac_cs_success=false + $SHELL "$CONFIG_STATUS" || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } + "$ac_cs_success" || { (exit 1); exit 1; } fi diff --git a/configure.in b/configure.in index 8e95e0bc..54c49bd6 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $LynxId: configure.in,v 1.319 2020/11/26 19:25:38 tom Exp $ +dnl $LynxId: configure.in,v 1.323 2021/01/02 13:47:23 tom Exp $ dnl dnl Process this file with autoconf to produce a configure script. dnl @@ -7,7 +7,7 @@ dnl by T.E.Dickey <dickey@invisible-island.net> dnl and Jim Spath <jspath@mail.bcpl.lib.md.us> dnl dnl --------------------------------------------------------------------------- -dnl Copyright 1997-2019,2020 by Thomas E. Dickey +dnl Copyright 1997-2020,2021 by Thomas E. Dickey dnl dnl Permission to use, copy, modify, and distribute this software and its dnl documentation for any purpose and without fee is hereby granted, @@ -85,7 +85,7 @@ dnl -------------------------------------------------------------------------- dnl Only add to this case statement when a system has a compiler that is not dnl detected by AC_PROG_CC. -case $host_os in +case "$host_os" in (openedition) : ${CFLAGS="-D_ALL_SOURCE -Wl,EDIT=NO"} : ${CC=c89} @@ -95,7 +95,7 @@ esac CF_PROG_CC CF_PROG_CPP_COMMENTS AC_PROG_LN_S -case $host_os in +case "$host_os" in (mingw*) LN_S="cp -p" AC_MSG_RESULT(Override: No symbolic links in mingw.) @@ -154,7 +154,7 @@ CF_ARG_ENABLE(debug, [with_debug=no]) AC_MSG_RESULT($with_debug) if test "$with_debug" = "yes" ; then - case $host_os in + case "$host_os" in (ultrix*|osf*) test -z "$ORIGINAL_CFLAGS" && CF_STRIP_O_OPT(CFLAGS) if test -z "$GCC" ; then @@ -163,7 +163,7 @@ if test "$with_debug" = "yes" ; then ;; esac else - case $host_os in + case "$host_os" in (osf*) test -z "$GCC" && CFLAGS="$CFLAGS -std1" test -z "$ORIGINAL_CFLAGS" && CF_STRIP_G_OPT(CFLAGS) @@ -180,7 +180,7 @@ CF_ARG_DISABLE(trace, [with_trace=$enableval], [with_trace=yes]) AC_MSG_RESULT($with_trace) -test $with_trace = no && AC_DEFINE(NO_LYNX_TRACE,1,[Define to 1 if you want to enable lynx trace code]) +test "$with_trace" = no && AC_DEFINE(NO_LYNX_TRACE,1,[Define to 1 if you want to enable lynx trace code]) AC_MSG_CHECKING(if you want verbose trace code) CF_ARG_ENABLE(vertrace, @@ -188,7 +188,7 @@ CF_ARG_ENABLE(vertrace, [with_vertrace=yes], [with_vertrace=no]) AC_MSG_RESULT($with_vertrace) -test $with_vertrace = yes && AC_DEFINE(LY_TRACELINE,__LINE__,[Define to __LINE__ if you want verbose trace code]) +test "$with_vertrace" = yes && AC_DEFINE(LY_TRACELINE,__LINE__,[Define to __LINE__ if you want verbose trace code]) CF_WITH_SCREEN_PDCURSES CF_ENABLE_WARNINGS @@ -204,7 +204,7 @@ AC_DEFINE(UNIX,1,[Define to 1 if we can run a configure script]) dnl Only add to this case statement things that we cannot design tests for. TRY_CFLAGS= -case $host_os in +case "$host_os" in (aix4*) TRY_CFLAGS="$TRY_CFLAGS -DAIX4 -D_BSD=44 -D_AIX" LIBS="$LIBS -lbsd" @@ -287,7 +287,7 @@ case $host_os in TRY_CFLAGS="$TRY_CFLAGS -DDSYS5 -DSYS_TRU64" ;; (sco3.2v5*) - test $ac_cv_prog_gcc != yes && TRY_CFLAGS="$TRY_CFLAGS -belf" + test "$ac_cv_prog_gcc" != yes && TRY_CFLAGS="$TRY_CFLAGS -belf" ;; (sco*) LIBS="$LIBS -lmalloc" @@ -330,7 +330,7 @@ case $host_os in ;; esac -case $host_os in +case "$host_os" in (mingw*) EXTRA_OBJS="$EXTRA_OBJS LYIcon\$o" ;; @@ -352,7 +352,7 @@ dnl -------------------------------------------------------------------------- dnl Set of available languages (based on source distribution) if test -z "$ALL_LINGUAS" ; then - ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po && echo *.po|sed -e 's/\.po//g' -e 's/*//'` + ALL_LINGUAS=`test -d "$srcdir/po" && cd "$srcdir/po" && echo *.po|sed -e 's/\.po//g' -e 's/*//'` AM_PATH_PROG_WITH_TEST(MSGINIT, msginit, [$ac_dir/$ac_word --no-translator --version /dev/null >/dev/null 2>&1], :) if test "$MSGINIT" != ":" ; then @@ -383,7 +383,7 @@ CF_ARG_DISABLE(full-paths, [with_full_paths=no], [with_full_paths=yes]) AC_MSG_RESULT($with_full_paths) -test $with_full_paths = no && AC_DEFINE(USE_EXECVP,1,[Define to 1 if you want full utility pathnames]) +test "$with_full_paths" = no && AC_DEFINE(USE_EXECVP,1,[Define to 1 if you want full utility pathnames]) CF_DEFINE_PROG(system mailer, SYSTEM_MAIL, /usr/mmdf/bin/submit \ @@ -392,8 +392,8 @@ CF_DEFINE_PROG(system mailer, SYSTEM_MAIL, ) CF_SYSTEM_MAIL_FLAGS if test -n "$SYSTEM_MAIL" ; then -if test $with_full_paths = no ; then - SYSTEM_MAIL=`basename $SYSTEM_MAIL` +if test "$with_full_paths" = no ; then + SYSTEM_MAIL=`basename "$SYSTEM_MAIL"` fi fi @@ -498,7 +498,7 @@ AC_ARG_WITH(screen, [ --with-screen=XXX select screen type (XXX is curses (default), ncurses, ncursesw, pdcurses or slang)], [ -case $withval in +case "$withval" in (curses|ncurses*|pdcurses|slang) cf_cv_screen=$withval ;; @@ -507,7 +507,7 @@ case $withval in esac], [cf_cv_screen=curses])]) -case $cf_cv_screen in +case "$cf_cv_screen" in (curses|ncurses*) CF_WITH_CURSES_DIR ;; @@ -515,7 +515,7 @@ esac cf_wide_curses=no dft_color_style=yes -case $cf_cv_screen in +case "$cf_cv_screen" in (curses) CF_CURSES_CONFIG CF_CURS_PERFORMANCE @@ -530,7 +530,7 @@ case $cf_cv_screen in CF_NCURSES_CONFIG($cf_cv_screen) ;; (pdcurses) - case $host_os in + case "$host_os" in (mingw*) cf_cv_ncurses_header=curses.h ;; @@ -563,7 +563,7 @@ CF_ARG_DISABLE(color-style, [use_color_style=$enableval], [use_color_style=$dft_color_style]) -case $use_color_style in +case "$use_color_style" in (no) AC_MSG_RESULT(no) INSTALL_LSS= @@ -620,7 +620,7 @@ $sysconfdir) AC_MSG_RESULT($LYNX_CFG_PATH) -test -z "$LYNX_CFG_PATH" && `echo "$LYNX_CFG_FILE" | sed -e 's%/[[^/]]*$%%'` +test -z "$LYNX_CFG_PATH" && LYNX_CFG_PATH="`echo "$LYNX_CFG_FILE" | sed -e 's%/[[^/]]*$%%'`" test "x$LYNX_CFG_PATH" = xno && LYNX_CFG_PATH= AC_DEFINE_UNQUOTED(LYNX_CFG_PATH,"$LYNX_CFG_PATH",[Define to default path for Lynx config-files]) @@ -633,7 +633,7 @@ CF_ARG_ENABLE(htmlized-cfg, AC_MSG_RESULT($use_htmlized_cfg) LYNXCFG_MAKE='' -if test $use_htmlized_cfg = no ; then +if test "$use_htmlized_cfg" = no ; then LYNXCFG_MAKE='#' fi AC_SUBST(LYNXCFG_MAKE) @@ -647,7 +647,7 @@ CF_ARG_ENABLE(local-docs, AC_MSG_RESULT($use_local_docs) LYNXDOC_MAKE='' -if test $use_local_docs = no ; then +if test "$use_local_docs" = no ; then LYNXDOC_MAKE='#' fi AC_SUBST(LYNXDOC_MAKE) @@ -670,7 +670,7 @@ CF_ARG_DISABLE(locale-charset, [use_locale_charset=$enableval], [use_locale_charset=yes]) AC_MSG_RESULT($use_locale_charset) -test $use_locale_charset != no && AC_DEFINE(USE_LOCALE_CHARSET,1,[Define to 1 if locale-charset selection logic should be used]) +test "$use_locale_charset" != no && AC_DEFINE(USE_LOCALE_CHARSET,1,[Define to 1 if locale-charset selection logic should be used]) dnl -------------------------------------------------------------------------- dnl Check for subsets of compiled-in tables. @@ -694,13 +694,13 @@ if test -n "$cf_charsets" ; then if test "$cf_charsets" = "minimal" ; then CF_VERBOSE(using minimal list of charsets: $cf_min_charsets) fi - cf_charsets=`echo $cf_charsets | sed -e "s/minimal/$cf_min_charsets/g" -e 's/,/ /g'` + cf_charsets=`echo "$cf_charsets" | sed -e "s/minimal/$cf_min_charsets/g" -e 's/,/ /g'` for cf_charset in $cf_charsets do - cf_def_charset=`echo $cf_charset | sed -e 's/+/_/g' -e 's/-/_/g'` + cf_def_charset=`echo "$cf_charset" | sed -e 's/+/_/g' -e 's/-/_/g'` cf_use_charset=no # check charsets that are defined via .tbl files - if ( egrep '^M'$cf_charset'$' $srcdir/src/chrtrans/*.tbl 2>/dev/null >/dev/null ) + if ( egrep '^M'$cf_charset'$' "$srcdir"/src/chrtrans/*.tbl 2>/dev/null >/dev/null ) then cf_use_charset=yes # check charsets that are "built-in" @@ -714,7 +714,7 @@ if test -n "$cf_charsets" ; then fi done fi - if test $cf_use_charset=yes + if test "$cf_use_charset" = yes then CF_VERBOSE(found $cf_charset) CHARSET_DEFS="-DNO_CHARSET_${cf_def_charset}=0 $CHARSET_DEFS" @@ -857,7 +857,7 @@ CF_ARG_DISABLE(bibp-urls, [use_bibp_urls=$enableval], [use_bibp_urls=yes]) AC_MSG_RESULT($use_bibp_urls) -test $use_bibp_urls = no && AC_DEFINE(DISABLE_BIBP,1,[Define to 1 if bibp: URLs should be supported]) +test "$use_bibp_urls" = no && AC_DEFINE(DISABLE_BIBP,1,[Define to 1 if bibp: URLs should be supported]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if configuration info should be browsable) @@ -866,7 +866,7 @@ CF_ARG_DISABLE(config-info, [use_config_info=$enableval], [use_config_info=yes]) AC_MSG_RESULT($use_config_info) -test $use_config_info = no && AC_DEFINE(NO_CONFIG_INFO,1,[Define to 1 if configuration info should be browsable]) +test "$use_config_info" = no && AC_DEFINE(NO_CONFIG_INFO,1,[Define to 1 if configuration info should be browsable]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if new-style forms-based options screen should be used) @@ -875,7 +875,7 @@ CF_ARG_DISABLE(forms-options, [use_forms_options=$enableval], [use_forms_options=yes]) AC_MSG_RESULT($use_forms_options) -test $use_forms_options = no && AC_DEFINE(NO_OPTION_FORMS,1,[Define to 1 if new-style forms-based options screen should be used]) +test "$use_forms_options" = no && AC_DEFINE(NO_OPTION_FORMS,1,[Define to 1 if new-style forms-based options screen should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if old-style options menu should be used) @@ -884,7 +884,7 @@ CF_ARG_DISABLE(menu-options, [use_menu_options=$enableval], [use_menu_options=yes]) AC_MSG_RESULT($use_menu_options) -test $use_menu_options = no && AC_DEFINE(NO_OPTION_MENU,1,[Define to 1 if old-style options menu should be used]) +test "$use_menu_options" = no && AC_DEFINE(NO_OPTION_MENU,1,[Define to 1 if old-style options menu should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if sessions code should be used) @@ -893,7 +893,7 @@ CF_ARG_DISABLE(sessions, [use_sessions=$enableval], [use_sessions=yes]) AC_MSG_RESULT($use_sessions) -if test $use_sessions != no ; then +if test "$use_sessions" != no ; then AC_DEFINE(USE_SESSIONS,1,[Define to 1 if sessions code should be used]) EXTRA_OBJS="$EXTRA_OBJS LYSession\$o" fi @@ -905,7 +905,7 @@ CF_ARG_DISABLE(session-cache, [use_session_cache=$enableval], [use_session_cache=yes]) AC_MSG_RESULT($use_session_cache) -if test $use_session_cache != no ; then +if test "$use_session_cache" != no ; then AC_DEFINE(USE_CACHEJAR,1,[Define to 1 if session-caching code should be used]) fi @@ -916,7 +916,7 @@ CF_ARG_DISABLE(addrlist-page, [use_addrlist_page=$enableval], [use_addrlist_page=yes]) AC_MSG_RESULT($use_addrlist_page) -test $use_addrlist_page != no && AC_DEFINE(USE_ADDRLIST_PAGE,1,[Define to 1 if address-list page should be used]) +test "$use_addrlist_page" != no && AC_DEFINE(USE_ADDRLIST_PAGE,1,[Define to 1 if address-list page should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if experimental CJK logic should be used) @@ -925,7 +925,7 @@ CF_ARG_ENABLE(cjk, [use_cjk=$enableval], [use_cjk=no]) AC_MSG_RESULT($use_cjk) -test $use_cjk != no && AC_DEFINE(CJK_EX,1,[Define to 1 if experimental CJK logic should be used]) +test "$use_cjk" != no && AC_DEFINE(CJK_EX,1,[Define to 1 if experimental CJK logic should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if experimental Japanese UTF-8 logic should be used) @@ -934,7 +934,7 @@ CF_ARG_ENABLE(japanese-utf8, [use_ja_utf8=$enableval], [use_ja_utf8=no]) AC_MSG_RESULT($use_ja_utf8) -if test $use_ja_utf8 != no ; then +if test "$use_ja_utf8" != no ; then AC_DEFINE(EXP_JAPANESEUTF8_SUPPORT,1,[Define to 1 if experimental Japanese UTF-8 logic should be used]) AM_ICONV if test "$USE_NLS" != yes ; then @@ -949,11 +949,11 @@ CF_ARG_ENABLE(wcwidth-support, [use_wcwidth=$enableval], [use_wcwidth=no]) AC_MSG_RESULT($use_wcwidth) -test $use_wcwidth != no && AC_DEFINE(EXP_WCWIDTH_SUPPORT,1,[Define to 1 if experimental wcwidth/UTF-8 logic should be used]) +test "$use_wcwidth" != no && AC_DEFINE(EXP_WCWIDTH_SUPPORT,1,[Define to 1 if experimental wcwidth/UTF-8 logic should be used]) dnl -------------------------------------------------------------------------- use_dft_colors=no -case $cf_cv_screen in +case "$cf_cv_screen" in (curses|slang|ncurses*) use_dft_colors=maybe ;; @@ -966,7 +966,7 @@ CF_ARG_ENABLE(default-colors, [use_dft_colors=yes], [use_dft_colors=no]) AC_MSG_RESULT($use_dft_colors) -test $use_dft_colors = "yes" && AC_DEFINE(USE_DEFAULT_COLORS,1,[Define to 1 if you want to use default-colors]) +test "$use_dft_colors" = "yes" && AC_DEFINE(USE_DEFAULT_COLORS,1,[Define to 1 if you want to use default-colors]) fi dnl -------------------------------------------------------------------------- @@ -976,7 +976,7 @@ CF_ARG_ENABLE(kbd-layout, [use_kbd_layout=$enableval], [use_kbd_layout=no]) AC_MSG_RESULT($use_kbd_layout) -test $use_kbd_layout != no && AC_DEFINE(EXP_KEYBOARD_LAYOUT,1,[Define to 1 if experimental keyboard-layout logic should be used]) +test "$use_kbd_layout" != no && AC_DEFINE(EXP_KEYBOARD_LAYOUT,1,[Define to 1 if experimental keyboard-layout logic should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if experimental nested-table logic should be used) @@ -985,7 +985,7 @@ CF_ARG_ENABLE(nested-tables, [use_nested_tables=$enableval], [use_nested_tables=no]) AC_MSG_RESULT($use_nested_tables) -test $use_nested_tables != no && AC_DEFINE(EXP_NESTED_TABLES,1,[Define to 1 if experimental nested-table logic should be used]) +test "$use_nested_tables" != no && AC_DEFINE(EXP_NESTED_TABLES,1,[Define to 1 if experimental nested-table logic should be used]) dnl -------------------------------------------------------------------------- dnl Miscellaneous options that don't need to test system features @@ -1001,7 +1001,7 @@ CF_ARG_DISABLE(alt-bindings, [use_alt_bindings=$enableval], [use_alt_bindings=yes]) AC_MSG_RESULT($use_alt_bindings) -test $use_alt_bindings != no && AC_DEFINE(USE_ALT_BINDINGS,1,[Define to 1 if alternative line-edit bindings should be used]) +test "$use_alt_bindings" != no && AC_DEFINE(USE_ALT_BINDINGS,1,[Define to 1 if alternative line-edit bindings should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if ascii case-conversion should be used) @@ -1010,7 +1010,7 @@ CF_ARG_DISABLE(ascii-ctypes, [use_ascii_ctypes=$enableval], [use_ascii_ctypes=yes]) AC_MSG_RESULT($use_ascii_ctypes) -test $use_ascii_ctypes != no && AC_DEFINE(USE_ASCII_CTYPES,1,[Define to 1 if ascii case-conversion should be used]) +test "$use_ascii_ctypes" != no && AC_DEFINE(USE_ASCII_CTYPES,1,[Define to 1 if ascii case-conversion should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want to use extended HTML DTD logic) @@ -1019,7 +1019,7 @@ CF_ARG_DISABLE(extended-dtd, [use_ext_htmldtd=no], [use_ext_htmldtd=yes]) AC_MSG_RESULT($use_ext_htmldtd) -test $use_ext_htmldtd = "no" && AC_DEFINE(NO_EXTENDED_HTMLDTD,1,[Define to 1 if you want to use extended HTML DTD logic]) +test "$use_ext_htmldtd" = "no" && AC_DEFINE(NO_EXTENDED_HTMLDTD,1,[Define to 1 if you want to use extended HTML DTD logic]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if file-upload logic should be used) @@ -1028,7 +1028,7 @@ CF_ARG_DISABLE(file-upload, [use_file_upload=$enableval], [use_file_upload=yes]) AC_MSG_RESULT($use_file_upload) -test $use_file_upload != no && AC_DEFINE(USE_FILE_UPLOAD,1,[Define to 1 if file-upload logic should be used]) +test "$use_file_upload" != no && AC_DEFINE(USE_FILE_UPLOAD,1,[Define to 1 if file-upload logic should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if IDNA support should be used) @@ -1049,7 +1049,7 @@ CF_ARG_DISABLE(justify-elts, [use_justify_elts=$enableval], [use_justify_elts=yes]) AC_MSG_RESULT($use_justify_elts) -test $use_justify_elts != no && AC_DEFINE(USE_JUSTIFY_ELTS,1,[Define to 1 if element-justification logic should be used]) +test "$use_justify_elts" != no && AC_DEFINE(USE_JUSTIFY_ELTS,1,[Define to 1 if element-justification logic should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if partial-display should be used) @@ -1058,7 +1058,7 @@ CF_ARG_DISABLE(partial, [use_partial_display=$enableval], [use_partial_display=yes]) AC_MSG_RESULT($use_partial_display) -test $use_partial_display != no && AC_DEFINE(DISP_PARTIAL,1,[Define to 1 if partial-display should be used]) +test "$use_partial_display" != no && AC_DEFINE(DISP_PARTIAL,1,[Define to 1 if partial-display should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if persistent-cookie logic should be used) @@ -1067,7 +1067,7 @@ CF_ARG_DISABLE(persistent-cookies, [use_filed_cookies=$enableval], [use_filed_cookies=yes]) AC_MSG_RESULT($use_filed_cookies) -test $use_filed_cookies != no && AC_DEFINE(USE_PERSISTENT_COOKIES,1,[Define to 1 if persistent-cookie logic should be used]) +test "$use_filed_cookies" != no && AC_DEFINE(USE_PERSISTENT_COOKIES,1,[Define to 1 if persistent-cookie logic should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if html source should be colorized) @@ -1076,7 +1076,7 @@ CF_ARG_DISABLE(prettysrc, [use_prettysrc=$enableval], [use_prettysrc=yes]) AC_MSG_RESULT($use_prettysrc) -test $use_prettysrc != no && AC_DEFINE(USE_PRETTYSRC,1,[Define to 1 if html source should be colorized]) +test "$use_prettysrc" != no && AC_DEFINE(USE_PRETTYSRC,1,[Define to 1 if html source should be colorized]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if progress-bar code should be used) @@ -1085,7 +1085,7 @@ CF_ARG_DISABLE(progressbar, [use_progressbar=$enableval], [use_progressbar=yes]) AC_MSG_RESULT($use_progressbar) -test $use_progressbar != no && AC_DEFINE(USE_PROGRESSBAR,1,[Define to 1 if progress-bar code should be used]) +test "$use_progressbar" != no && AC_DEFINE(USE_PROGRESSBAR,1,[Define to 1 if progress-bar code should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if read-progress message should show ETA) @@ -1094,7 +1094,7 @@ CF_ARG_DISABLE(read-eta, [use_read_eta=$enableval], [use_read_eta=yes]) AC_MSG_RESULT($use_read_eta) -test $use_read_eta != no && AC_DEFINE(USE_READPROGRESS,1,[Define to 1 if read-progress message should show ETA]) +test "$use_read_eta" != no && AC_DEFINE(USE_READPROGRESS,1,[Define to 1 if read-progress message should show ETA]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if source caching should be used) @@ -1103,7 +1103,7 @@ CF_ARG_DISABLE(source-cache, [use_source_cache=$enableval], [use_source_cache=yes]) AC_MSG_RESULT($use_source_cache) -test $use_source_cache != no && AC_DEFINE(USE_SOURCE_CACHE,1,[Define to 1 if source caching should be used]) +test "$use_source_cache" != no && AC_DEFINE(USE_SOURCE_CACHE,1,[Define to 1 if source caching should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if scrollbar code should be used) @@ -1120,7 +1120,7 @@ CF_ARG_ENABLE(charset-choice, [use_charset_choice=$enableval], [use_charset_choice=no]) AC_MSG_RESULT($use_charset_choice) -test $use_charset_choice != no && AC_DEFINE(USE_CHARSET_CHOICE,1,[Define to 1 if charset-selection logic should be used]) +test "$use_charset_choice" != no && AC_DEFINE(USE_CHARSET_CHOICE,1,[Define to 1 if charset-selection logic should be used]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want to use external commands) @@ -1129,7 +1129,7 @@ CF_ARG_ENABLE(externs, [use_externs=yes], [use_externs=no]) AC_MSG_RESULT($use_externs) -if test $use_externs != "no" ; then +if test "$use_externs" != "no" ; then AC_DEFINE(USE_EXTERNALS,1,[Define to 1 if you want to use external commands]) EXTRA_OBJS="$EXTRA_OBJS LYExtern\$o" fi @@ -1141,8 +1141,8 @@ CF_ARG_ENABLE(font-switch, [use_setfont=yes], [use_setfont=no]) AC_MSG_RESULT($use_setfont) -if test $use_setfont = yes ; then - case $host_os in +if test "$use_setfont" = yes ; then + case "$host_os" in (linux*) CF_PATH_PROG(SETFONT, consolechars, setfont) ;; @@ -1176,7 +1176,7 @@ CF_ARG_ENABLE(change-exec, [use_change_exec=yes], [use_change_exec=no]) AC_MSG_RESULT($use_change_exec) -test $use_change_exec = yes && AC_DEFINE(ENABLE_OPTS_CHANGE_EXEC,1,[Define to 1 if you want change-exec support]) +test "$use_change_exec" = yes && AC_DEFINE(ENABLE_OPTS_CHANGE_EXEC,1,[Define to 1 if you want change-exec support]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want exec-links support) @@ -1186,7 +1186,7 @@ CF_ARG_OPTION(exec-links, [use_exec_links=$enableval], [$use_change_exec]) AC_MSG_RESULT($use_exec_links) -test $use_exec_links = yes && AC_DEFINE(EXEC_LINKS,1,[Define to 1 if you want exec-links support]) +test "$use_exec_links" = yes && AC_DEFINE(EXEC_LINKS,1,[Define to 1 if you want exec-links support]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want exec-scripts support) @@ -1196,7 +1196,7 @@ CF_ARG_OPTION(exec-scripts, [use_exec_scripts=$enableval], [$use_change_exec]) AC_MSG_RESULT($use_exec_scripts) -test $use_exec_scripts = yes && AC_DEFINE(EXEC_SCRIPTS,1,[Define to 1 if you want exec-scripts support]) +test "$use_exec_scripts" = yes && AC_DEFINE(EXEC_SCRIPTS,1,[Define to 1 if you want exec-scripts support]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want internal-links feature) @@ -1205,7 +1205,7 @@ CF_ARG_ENABLE(internal-links, [use_internal_links=yes], [use_internal_links=no]) AC_MSG_RESULT($use_internal_links) -test $use_internal_links = yes && AC_DEFINE(TRACK_INTERNAL_LINKS,1,[Define to 1 if you want internal-links feature]) +test "$use_internal_links" = yes && AC_DEFINE(TRACK_INTERNAL_LINKS,1,[Define to 1 if you want internal-links feature]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want to fork NSL requests) @@ -1214,8 +1214,8 @@ CF_ARG_ENABLE(nsl-fork, [use_nsl_fork=yes], [use_nsl_fork=no]) AC_MSG_RESULT($use_nsl_fork) -if test $use_nsl_fork = yes ; then - case $host_os in +if test "$use_nsl_fork" = yes ; then + case "$host_os" in (mingw*) AC_DEFINE(_WINDOWS_NSL,1,[Define to 1 if we want NSL-fork with Windows]) ;; @@ -1232,7 +1232,7 @@ CF_ARG_ENABLE(syslog, [use_syslog=yes], [use_syslog=no]) AC_MSG_RESULT($use_syslog) -test $use_syslog = yes && AC_DEFINE(SYSLOG_REQUESTED_URLS,1,[Define to 1 if you want to log URL requests via syslog]) +test "$use_syslog" = yes && AC_DEFINE(SYSLOG_REQUESTED_URLS,1,[Define to 1 if you want to log URL requests via syslog]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want to underline links) @@ -1241,8 +1241,8 @@ CF_ARG_ENABLE(underlines, [use_underline=yes], [use_underline=no]) AC_MSG_RESULT($use_underline) -test $use_underline = yes && AC_DEFINE(UNDERLINE_LINKS,1,[Define to 1 if xxx]) -test $use_underline = no && AC_DEFINE(UNDERLINE_LINKS,0,[Define to 0 if xxx]) +test "$use_underline" = yes && AC_DEFINE(UNDERLINE_LINKS,1,[Define to 1 if xxx]) +test "$use_underline" = no && AC_DEFINE(UNDERLINE_LINKS,0,[Define to 0 if xxx]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if help files should be gzip'ed) @@ -1289,7 +1289,7 @@ CF_ARG_DISABLE(finger, [use_finger=yes], [use_finger=no]) AC_MSG_RESULT($use_finger) -test $use_finger != "no" && AC_DEFINE(DISABLE_FINGER,1,[Define to 1 if you want to exclude FINGER code]) +test "$use_finger" != "no" && AC_DEFINE(DISABLE_FINGER,1,[Define to 1 if you want to exclude FINGER code]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want to exclude GOPHER code) @@ -1298,7 +1298,7 @@ CF_ARG_DISABLE(gopher, [use_gopher=yes], [use_gopher=no]) AC_MSG_RESULT($use_gopher) -test $use_gopher != "no" && AC_DEFINE(DISABLE_GOPHER,1,[Define to 1 if you want to exclude GOPHER code]) +test "$use_gopher" != "no" && AC_DEFINE(DISABLE_GOPHER,1,[Define to 1 if you want to exclude GOPHER code]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want to exclude NEWS code) @@ -1307,7 +1307,7 @@ CF_ARG_DISABLE(news, [use_news=yes], [use_news=no]) AC_MSG_RESULT($use_news) -test $use_news != "no" && AC_DEFINE(DISABLE_NEWS,1,[Define to 1 if you want to exclude NEWS code]) +test "$use_news" != "no" && AC_DEFINE(DISABLE_NEWS,1,[Define to 1 if you want to exclude NEWS code]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want to exclude FTP code) @@ -1316,7 +1316,7 @@ CF_ARG_DISABLE(ftp, [use_ftp=yes], [use_ftp=no]) AC_MSG_RESULT($use_ftp) -test $use_ftp != "no" && AC_DEFINE(DISABLE_FTP,1,[Define to 1 if you want to exclude FTP code]) +test "$use_ftp" != "no" && AC_DEFINE(DISABLE_FTP,1,[Define to 1 if you want to exclude FTP code]) dnl -------------------------------------------------------------------------- AC_MSG_CHECKING(if you want to include WAIS code) @@ -1327,7 +1327,7 @@ CF_ARG_ENABLE(wais, AC_MSG_RESULT($use_wais) MAKE_WAIS="#" -if test $use_wais != "no" +if test "$use_wais" != "no" then AC_CHECK_LIB(wais,fs_free,[ CF_MATH_LIB @@ -1460,16 +1460,16 @@ fi COMPRESS_PROG= COMPRESS_EXT= -if test $use_gzip_help = yes ; then +if test "$use_gzip_help" = yes ; then COMPRESS_PROG="$ac_cv_path_GZIP -9 -n" COMPRESS_EXT=.gz fi AC_SUBST(COMPRESS_PROG) AC_SUBST(COMPRESS_EXT) -if test $cf_cv_screen = pdcurses ; then +if test "$cf_cv_screen" = pdcurses ; then CF_HELP_MESSAGE(Special Libraries for PDCurses X11:) - case $host_os in + case "$host_os" in (mingw*) CF_PDCURSES_W32 ;; @@ -1482,8 +1482,8 @@ else fi ### These tests must be run after establishing the curses library. -if test $cf_cv_screen != slang ; then - if test $cf_cv_screen != pdcurses ; then +if test "$cf_cv_screen" != slang ; then + if test "$cf_cv_screen" != pdcurses ; then AC_CHECK_HEADERS($cf_cv_screen/term.h term.h) fi CF_ALT_CHAR_SET @@ -1526,16 +1526,16 @@ if test $cf_cv_screen != slang ; then ) fi -if test $use_color_style != no ; then +if test "$use_color_style" != no ; then if test .$cf_cv_color_curses != .yes ; then AC_ERROR(Configuration does not support color-styles) fi - if test $cf_cv_screen = slang ; then + if test "$cf_cv_screen" = slang ; then AC_ERROR(Configuration does not support color-styles) fi fi -if test $use_scrollbar != no ; then +if test "$use_scrollbar" != no ; then if test .$cf_cv_fancy_curses != .yes ; then AC_MSG_WARN(Configuration does not support ACS_xxx definitions) else @@ -1555,7 +1555,7 @@ AC_SUBST(CONFIG_SHELL) srcdir="$srcdir" SRCDIR_CLEAN="#" if test -n "$srcdir" ; then - echo srcdir is $srcdir + echo "srcdir is $srcdir" mkdir -p WWW/Library/Implementation mkdir -p src/chrtrans test "$USE_INCLUDED_LIBINTL" = yes && mkdir -p intl @@ -1576,7 +1576,7 @@ AC_OUTPUT( ],[ if test "$USE_NLS" = yes ; then if test "$use_our_messages" = yes ; then - echo creating po/makefile + echo "creating po/makefile" rm -f po/temp$$ sed -e 's%^.*LYMessages.c% ../LYMessages.c%' \ -e '$s/\\//' po/POTFILES >po/temp$$ diff --git a/src/LYIcon.rc b/src/LYIcon.rc index c270e42e..c84b1dbb 100644 --- a/src/LYIcon.rc +++ b/src/LYIcon.rc @@ -1,4 +1,4 @@ -// $LynxId: LYIcon.rc,v 1.47 2020/11/26 19:25:38 tom Exp $ +// $LynxId: LYIcon.rc,v 1.48 2021/01/01 14:54:29 tom Exp $ #include <windows.h> @@ -21,7 +21,7 @@ BEGIN VALUE "FileDescription", "Lynx - web browser" VALUE "FileVersion", "2.9.0.1007" VALUE "InternalName", "Lynx" - VALUE "LegalCopyright", "©1997-2020 Thomas E. Dickey" + VALUE "LegalCopyright", "©1997-2021 Thomas E. Dickey" VALUE "OriginalFilename", "lynx.exe" VALUE "ProductName", "Lynx - web browser" VALUE "ProductVersion", "2.9.0.1007" @@ -1,9 +1,9 @@ /* - * $LynxId: userdefs.h,v 1.354 2020/11/26 19:25:38 tom Exp $ + * $LynxId: userdefs.h,v 1.355 2021/01/01 14:53:50 tom Exp $ * * Lynx - Hypertext navigation system * - * Copyright 1996-2019,2020 Thomas E. Dickey and Lynx Developers Group + * Copyright 1996-2020,2021 Thomas E. Dickey and Lynx Developers Group * Note: GNU General Public License is not a copyright. * * (c) Copyright 1992, 1993, 1994 University of Kansas |