diff options
-rw-r--r-- | CHANGES | 20 | ||||
-rw-r--r-- | WWW/Library/Implementation/HTAAProt.c | 42 | ||||
-rw-r--r-- | WWW/Library/Implementation/HTAAProt.h | 32 | ||||
-rw-r--r-- | WWW/Library/Implementation/HTTP.c | 9 | ||||
-rw-r--r-- | WWW/Library/Implementation/SGML.c | 69 | ||||
-rw-r--r-- | WWW/Library/Implementation/UCAux.h | 4 | ||||
-rw-r--r-- | WWW/Library/Implementation/UCDefs.h | 56 | ||||
-rw-r--r-- | WWW/Library/Implementation/www_tcp.h | 5 | ||||
-rw-r--r-- | config.hin | 4 | ||||
-rwxr-xr-x | configure | 5917 | ||||
-rw-r--r-- | configure.in | 18 | ||||
-rw-r--r-- | makefile.msc | 12 | ||||
-rw-r--r-- | samples/lynx.ico | bin | 0 -> 5174 bytes | |||
-rwxr-xr-x | scripts/conf.mingw.sh | 32 | ||||
-rwxr-xr-x | scripts/config.djgpp.sh | 24 | ||||
-rw-r--r-- | src/HTAlert.c | 14 | ||||
-rw-r--r-- | src/LYCgi.c | 4 | ||||
-rw-r--r-- | src/LYCurses.c | 51 | ||||
-rw-r--r-- | src/LYGlobalDefs.h | 10 | ||||
-rw-r--r-- | src/LYIcon.rc | 1 | ||||
-rw-r--r-- | src/LYMain.c | 12 | ||||
-rw-r--r-- | src/LYPrettySrc.c | 6 | ||||
-rw-r--r-- | src/LYPrettySrc.h | 7 | ||||
-rw-r--r-- | src/LYStrings.c | 4 | ||||
-rw-r--r-- | src/LYexit.c | 5 | ||||
-rw-r--r-- | src/UCAux.c | 7 | ||||
-rw-r--r-- | src/Xsystem.c | 18 | ||||
-rw-r--r-- | src/makefile.in | 5 |
28 files changed, 3261 insertions, 3127 deletions
diff --git a/CHANGES b/CHANGES index 28511694..8a04cbf8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,14 +1,30 @@ --- $LynxId: CHANGES,v 1.374 2009/02/02 01:50:56 tom Exp $ +-- $LynxId: CHANGES,v 1.379 2009/03/11 00:39:22 tom Exp $ =============================================================================== Changes since Lynx 2.8 release =============================================================================== +2009-03-?? (2.8.7dev.14) +* modify SGML_write() to check for UCS-2 BOMs, to provide support for UCS-2 + pages (prompted by comment by TG) -TD +* modify SGML_write() to check for UTF-8 BOM, using that as a hint to set the + default document charset to UTF-8 (prompted by mailing list comments) -TD +* modify stop_curses() function to fix missing DJGPP and MinGW code -DK, TD +* modify config.hin to fix prototype for getttimeofday() with MinGW -DK +* ifdef to avoid conflicting definition of set_timeout() in DJGPP -DK +* modify ifdef in LYMain.c to avoid possible conflict between libintl.h and + locale.h -DK +* modify configure script to avoid using symbolic links for MinGW, in case + the script is run in Cygwin -DK +* modify makefile.msc to add LYIcon object -TD +* modify configure script to add LYIcon object for MinGW -DK +* add sample scripts for configuring MinGW version using Cygwin -DK + 2009-02-01 (2.8.7dev.13) * modify definitions in LYStructs.h for union to cast to a void* rather than a long, to help with 64-bit ports -TD * modify CF_SSL configure macro to check for -ldl needed for recent OpenSSL versions -TD -* modify CF_SSL configure macro to build with msys for mingw configuration -TD +* modify CF_SSL configure macro to build with MSYS for MinGW configuration -TD * modify scanning of floats from lynx.cfg to allow Lynx to read POSIX values in non-POSIX locales -TD * modify configure script to check for msginit, needed to generate "en" po diff --git a/WWW/Library/Implementation/HTAAProt.c b/WWW/Library/Implementation/HTAAProt.c index 263b4a2c..224723c7 100644 --- a/WWW/Library/Implementation/HTAAProt.c +++ b/WWW/Library/Implementation/HTAAProt.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTAAProt.c,v 1.30 2009/02/01 21:19:48 tom Exp $ + * $LynxId: HTAAProt.c,v 1.31 2009/03/10 00:27:20 tom Exp $ * * MODULE HTAAProt.c * PROTECTION FILE PARSING MODULE @@ -75,44 +75,6 @@ static BOOL isNumber(const char *s) } return YES; } -#endif /* !NOUSERS */ - -#if defined (NOUSERS) -/* PUBLIC HTAA_getUidName() - * GET THE USER ID NAME (VMS ONLY) - * ON ENTRY: - * No arguments. - * - * ON EXIT: - * returns the user name - * Default is "" (nobody). - */ -const char *HTAA_getUidName(void) -{ - if (current_prot && current_prot->uid_name - && (0 != strcmp(current_prot->uid_name, "nobody"))) - return (current_prot->uid_name); - else - return (""); -} - -/* PUBLIC HTAA_getFileName - * GET THE FILENAME (VMS ONLY) - * ON ENTRY: - * No arguments. - * - * ON EXIT: - * returns the filename - */ -const char *HTAA_getFileName(void) -{ - if (current_prot && current_prot->filename) - return (current_prot->filename); - else - return (""); -} - -#else /* not VMS */ /* PUBLIC HTAA_getUid() * GET THE USER ID TO CHANGE THE PROCESS UID TO @@ -187,7 +149,7 @@ int HTAA_getGid(void) */ return NOBODY; /* nogroup */ } -#endif /* not VMS */ +#endif /* !NOUSERS */ /* static HTAA_setIds() * SET UID AND GID (AS NAMES OR NUMBERS) diff --git a/WWW/Library/Implementation/HTAAProt.h b/WWW/Library/Implementation/HTAAProt.h index 8595ca66..22e3d928 100644 --- a/WWW/Library/Implementation/HTAAProt.h +++ b/WWW/Library/Implementation/HTAAProt.h @@ -156,7 +156,7 @@ Get User and Group IDs to Which Set to */ -#ifndef VMS +#ifndef NOUSERS /* PUBLIC HTAA_getUid() * GET THE USER ID TO CHANGE THE PROCESS UID TO * ON ENTRY: @@ -178,35 +178,7 @@ Get User and Group IDs to Which Set to * Default is 65534 (nogroup). */ extern int HTAA_getGid(void); -#endif /* not VMS */ -/* - - For VMS: - - */ - -#ifdef VMS -/* PUBLIC HTAA_getUidName() - * GET THE USER ID NAME (VMS ONLY) - * ON ENTRY: - * No arguments. - * - * ON EXIT: - * returns the user name - * Default is "" (nobody). - */ - extern const char *HTAA_getUidName(void); - -/* PUBLIC HTAA_getFileName - * GET THE FILENAME (VMS ONLY) - * ON ENTRY: - * No arguments. - * - * ON EXIT: - * returns the filename - */ - extern const char *HTAA_getFileName(void); -#endif /* VMS */ +#endif /* !NOUSERS */ /* PUBLIC HTAA_UidToName * GET THE USER NAME diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c index d1be845d..3d87d441 100644 --- a/WWW/Library/Implementation/HTTP.c +++ b/WWW/Library/Implementation/HTTP.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTTP.c,v 1.105 2009/02/01 21:22:22 tom Exp $ + * $LynxId: HTTP.c,v 1.106 2009/03/10 15:31:22 tom Exp $ * * HyperText Tranfer Protocol - Client implementation HTTP.c * ========================== @@ -285,9 +285,6 @@ int ws_netread(int fd, char *buf, int len) static recv_data_t para; - extern int lynx_timeout; /* LYMain.c */ - extern CRITICAL_SECTION critSec_READ; /* LYMain.c */ - #define TICK 5 #define STACK_SIZE 0x2000uL @@ -1032,12 +1029,12 @@ static int HTLoadHTTP(const char *arg, if (pres->quality < 1.0) { if (pres->maxbytes > 0) { sprintf(temp, ";q=%4.3f;mxb=%" PRI_off_t "", - pres->quality, pres->maxbytes); + pres->quality, CAST_off_t(pres->maxbytes)); } else { sprintf(temp, ";q=%4.3f", pres->quality); } } else if (pres->maxbytes > 0) { - sprintf(temp, ";mxb=%" PRI_off_t "", pres->maxbytes); + sprintf(temp, ";mxb=%" PRI_off_t "", CAST_off_t(pres->maxbytes)); } else { temp[0] = '\0'; } diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c index 709586e5..5fd3a09e 100644 --- a/WWW/Library/Implementation/SGML.c +++ b/WWW/Library/Implementation/SGML.c @@ -1,5 +1,5 @@ /* - * $LynxId: SGML.c,v 1.120 2009/01/03 01:12:28 tom Exp $ + * $LynxId: SGML.c,v 1.122 2009/03/10 21:16:57 tom Exp $ * * General SGML Parser code SGML.c * ======================== @@ -4382,12 +4382,23 @@ static void SGML_character(HTStream *context, char c_in) } } /* SGML_character */ -static void SGML_string(HTStream *context, const char *str) +static void InferUtfFromBom(HTStream *context, int chndl) { - const char *p; + HTAnchor_setUCInfoStage(context->node_anchor, chndl, + UCT_STAGE_PARSER, + UCT_SETBY_PARSER); + change_chartrans_handling(context); +} - for (p = str; *p; p++) - SGML_character(context, *p); +/* + * Avoid rewrite of SGML_character() to handle hypothetical case of UTF-16 + * webpages, by pretending that the data is UTF-8. + */ +static void SGML_widechar(HTStream *context, long ch) +{ + if (!UCPutUtf8_charstring(context, SGML_character, ch)) { + SGML_character(context, UCH(ch)); + } } static void SGML_write(HTStream *context, const char *str, int l) @@ -4395,8 +4406,45 @@ static void SGML_write(HTStream *context, const char *str, int l) const char *p; const char *e = str + l; - for (p = str; p < e; p++) - SGML_character(context, *p); + if (sgml_offset == 0) { + if (l > 3 + && !memcmp(str, "\357\273\277", 3)) { + CTRACE((tfp, "SGML_write found UTF-8 BOM\n")); + InferUtfFromBom(context, UTF8_handle); + str += 3; + } else if (l > 2) { + if (!memcmp(str, "\377\376", 2)) { + CTRACE((tfp, "SGML_write found UCS-2 LE BOM\n")); + InferUtfFromBom(context, UTF8_handle); + str += 2; + context->T.ucs_mode = -1; + } else if (!memcmp(str, "\376\377", 2)) { + CTRACE((tfp, "SGML_write found UCS-2 BE BOM\n")); + InferUtfFromBom(context, UTF8_handle); + str += 2; + context->T.ucs_mode = 1; + } + } + } + switch (context->T.ucs_mode) { + case -1: + for (p = str; p < e; p += 2) + SGML_widechar(context, (UCH(p[1]) << 8) | UCH(p[0])); + break; + case 1: + for (p = str; p < e; p += 2) + SGML_widechar(context, (UCH(p[0]) << 8) | UCH(p[1])); + break; + default: + for (p = str; p < e; p++) + SGML_character(context, *p); + break; + } +} + +static void SGML_string(HTStream *context, const char *str) +{ + SGML_write(context, str, strlen(str)); } /*_______________________________________________________________________ @@ -4507,11 +4555,12 @@ HTStream *SGML_new(const SGML_dtd * dtd, */ int SGML_offset(void) { + int result = sgml_offset; + #ifdef USE_PRETTYSRC - return sgml_offset + psrc_view; -#else - return sgml_offset; + result += psrc_view; #endif + return result; } /* Asian character conversion functions diff --git a/WWW/Library/Implementation/UCAux.h b/WWW/Library/Implementation/UCAux.h index c962095e..4d4bd84e 100644 --- a/WWW/Library/Implementation/UCAux.h +++ b/WWW/Library/Implementation/UCAux.h @@ -1,3 +1,6 @@ +/* + * $LynxId: UCAux.h,v 1.16 2009/03/10 21:17:21 tom Exp $ + */ #ifndef UCAUX_H #define UCAUX_H @@ -39,6 +42,7 @@ extern "C" { BOOL trans_C0_to_uni; BOOL repl_translated_C0; BOOL trans_from_uni; + int ucs_mode; }; typedef struct _UCTransParams UCTransParams; diff --git a/WWW/Library/Implementation/UCDefs.h b/WWW/Library/Implementation/UCDefs.h index 8677824c..7555beaa 100644 --- a/WWW/Library/Implementation/UCDefs.h +++ b/WWW/Library/Implementation/UCDefs.h @@ -1,4 +1,8 @@ -/* Definitions for Unicode character-translations */ +/* + * $LynxId: UCDefs.h,v 1.17 2009/03/10 20:02:44 tom Exp $ + * + * Definitions for Unicode character-translations + */ #ifndef UCDEFS_H #define UCDEFS_H @@ -27,14 +31,16 @@ typedef struct _LYUCcharset { "for which ranges is it like 8859-1" */ } LYUCcharset; -#define UCT_ENC_7BIT 0 -#define UCT_ENC_8BIT 1 -#define UCT_ENC_8859 2 /* no displayable chars in 0x80-0x9F */ -#define UCT_ENC_8BIT_C0 3 /* 8-bit + some chars in C0 control area */ -#define UCT_ENC_MAYBE2022 4 -#define UCT_ENC_CJK 5 -#define UCT_ENC_16BIT 6 -#define UCT_ENC_UTF8 7 +typedef enum { + UCT_ENC_7BIT, + UCT_ENC_8BIT, + UCT_ENC_8859, /* no displayable chars in 0x80-0x9F */ + UCT_ENC_8BIT_C0, /* 8-bit + some chars in C0 control area */ + UCT_ENC_MAYBE2022, + UCT_ENC_CJK, + UCT_ENC_16BIT, + UCT_ENC_UTF8 +} eUCT_ENC; #define UCT_REP_SUBSETOF_LAT1 0x01 #define UCT_REP_SUPERSETOF_LAT1 0x02 @@ -64,24 +70,28 @@ typedef struct _LYUCcharset { #define UCT_R_HIGH8BIT 0x100 /* rest of 0xA0-0xFF range */ #define UCT_R_ASCII UCT_R_7BITINV | UCT_R_7BITNAT /* displayable US-ASCII */ -#define UCT_R_LAT1 UCT_R_ASCII | UCT_R_8859SPECL | UCT_R_HIGH8BIT -#define UCT_R_8BIT UCT_R_LAT1 | UCT_R_HIGHCTRL /* full 8bit range */ +#define UCT_R_LAT1 UCT_R_ASCII | UCT_R_8859SPECL | UCT_R_HIGH8BIT +#define UCT_R_8BIT UCT_R_LAT1 | UCT_R_HIGHCTRL /* full 8bit range */ /* * For the following some comments are in HTAnchor.c. */ -#define UCT_STAGE_MIME 0 -#define UCT_STAGE_PARSER 1 /* What the parser (SGML.c) gets to see */ -#define UCT_STAGE_STRUCTURED 2 /* What the structured stream (HTML) gets fed */ -#define UCT_STAGE_HTEXT 3 /* What gets fed to the HText_* functions */ -#define UCT_STAGEMAX 4 - -#define UCT_SETBY_NONE 0 -#define UCT_SETBY_DEFAULT 1 -#define UCT_SETBY_LINK 2 /* set by A or LINK CHARSET= hint */ -#define UCT_SETBY_STRUCTURED 3 /* structured stream stage (HTML.c) */ -#define UCT_SETBY_PARSER 4 /* set by SGML parser or similar */ -#define UCT_SETBY_MIME 5 /* set explicitly by MIME charset parameter */ +typedef enum { + UCT_STAGE_MIME, + UCT_STAGE_PARSER, /* What the parser (SGML.c) gets to see */ + UCT_STAGE_STRUCTURED, /* What the structured stream (HTML) gets fed */ + UCT_STAGE_HTEXT, /* What gets fed to the HText_* functions */ + UCT_STAGEMAX +} eUCT_STAGE; + +typedef enum { + UCT_SETBY_NONE, + UCT_SETBY_DEFAULT, + UCT_SETBY_LINK, /* set by A or LINK CHARSET= hint */ + UCT_SETBY_STRUCTURED, /* structured stream stage (HTML.c) */ + UCT_SETBY_PARSER, /* set by SGML parser or similar */ + UCT_SETBY_MIME /* set explicitly by MIME charset parameter */ +} eUCT_SETBY; typedef struct _UCStageInfo { int lock; /* by what it has been set */ diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h index 45216f7f..392fbd99 100644 --- a/WWW/Library/Implementation/www_tcp.h +++ b/WWW/Library/Implementation/www_tcp.h @@ -1,5 +1,5 @@ /* System dependencies in the W3 library - * $LynxId: www_tcp.h,v 1.38 2008/12/30 01:01:34 Paul.Gilmartin Exp $ + * $LynxId: www_tcp.h,v 1.39 2009/03/09 22:43:29 Doug.Kaufman Exp $ * SYSTEM DEPENDENCIES @@ -632,6 +632,9 @@ extern int errno; #ifdef word #undef word #endif /* word */ +#ifdef set_timeout +#undef set_timeout +#endif /* set_timeout */ #define select select_s #undef NETWRITE diff --git a/config.hin b/config.hin index 9592a085..f40ace3d 100644 --- a/config.hin +++ b/config.hin @@ -1,5 +1,5 @@ /* - * $LynxId: config.hin,v 1.111 2009/01/03 16:02:07 tom Exp $ + * $LynxId: config.hin,v 1.112 2009/03/09 22:43:29 Doug.Kaufman Exp $ * vile:cmode * * The configure script translates "config.hin" into "lynx_cfg.h" @@ -141,6 +141,7 @@ #undef HAVE_SYS_IOCTL_H /* have <sys/ioctl.h> */ #undef HAVE_SYS_NDIR_H /* AC_HEADER_DIRENT */ #undef HAVE_SYS_PARAM_H /* AM_GNU_GETTEXT */ +#undef HAVE_SYS_TIME_H /* have <sys/time.h> */ #undef HAVE_SYS_TIMEB_H /* have <sys/timeb.h> */ #undef HAVE_SYS_WAIT_H /* have <sys/wait.h> */ #undef HAVE_TERMIOS_H /* have <termios.h> */ @@ -237,6 +238,7 @@ #undef TELNET_PATH /* CF_PATH_PROG(telnet) */ #undef TERMIO_AND_CURSES /* CF_TERMIO_AND_CURSES workaround */ #undef TERMIO_AND_TERMIOS /* CF_TERMIO_AND_TERMIOS workaround */ +#undef TIME_WITH_SYS_TIME /* AC_HEADER_TIME */ #undef TN3270_PATH /* CF_PATH_PROG(tn3270) */ #undef TOUCH_PATH /* CF_PATH_PROG(touch) */ #undef ULTRIX /* config.sub */ diff --git a/configure b/configure index 5d5dcb2f..15543ef6 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in 2.8.7dev.12. +# From configure.in 2.8.7dev.13. # Guess values for system-dependent variables and create Makefiles. # Generated by Autoconf 2.52.20081225. # @@ -2207,7 +2207,16 @@ else echo "${ECHO_T}no, using $LN_S" >&6 fi -echo "$as_me:2210: checking whether ${MAKE-make} sets \${MAKE}" >&5 +case $host_os in +mingw*) +LN_S="cp -p" +echo "$as_me:2213: result: Override: No symbolic links in mingw." >&5 +echo "${ECHO_T}Override: No symbolic links in mingw." >&6 + ;; +*) + ;; +esac +echo "$as_me:2219: 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 @@ -2227,11 +2236,11 @@ fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$as_me:2230: result: yes" >&5 + echo "$as_me:2239: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else - echo "$as_me:2234: result: no" >&5 + echo "$as_me:2243: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi @@ -2248,7 +2257,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:2251: checking for a BSD compatible install" >&5 +echo "$as_me:2260: 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 @@ -2297,7 +2306,7 @@ fi INSTALL=$ac_install_sh fi fi -echo "$as_me:2300: result: $INSTALL" >&5 +echo "$as_me:2309: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -2312,7 +2321,7 @@ for ac_prog in 'bison -y' byacc 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:2315: checking for $ac_word" >&5 +echo "$as_me:2324: 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 @@ -2327,7 +2336,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:2330: found $ac_dir/$ac_word" >&5 +echo "$as_me:2339: found $ac_dir/$ac_word" >&5 break done @@ -2335,10 +2344,10 @@ fi fi YACC=$ac_cv_prog_YACC if test -n "$YACC"; then - echo "$as_me:2338: result: $YACC" >&5 + echo "$as_me:2347: result: $YACC" >&5 echo "${ECHO_T}$YACC" >&6 else - echo "$as_me:2341: result: no" >&5 + echo "$as_me:2350: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2350,7 +2359,7 @@ for ac_prog in lint alint lclint tdlint 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:2353: checking for $ac_word" >&5 +echo "$as_me:2362: 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 @@ -2365,7 +2374,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:2368: found $ac_dir/$ac_word" >&5 +echo "$as_me:2377: found $ac_dir/$ac_word" >&5 break done @@ -2373,20 +2382,20 @@ fi fi LINT=$ac_cv_prog_LINT if test -n "$LINT"; then - echo "$as_me:2376: result: $LINT" >&5 + echo "$as_me:2385: result: $LINT" >&5 echo "${ECHO_T}$LINT" >&6 else - echo "$as_me:2379: result: no" >&5 + echo "$as_me:2388: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$LINT" && break done -echo "$as_me:2386: checking for AIX" >&5 +echo "$as_me:2395: checking for AIX" >&5 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 2389 "configure" +#line 2398 "configure" #include "confdefs.h" #ifdef _AIX yes @@ -2395,24 +2404,24 @@ cat >conftest.$ac_ext <<_ACEOF _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then - echo "$as_me:2398: result: yes" >&5 + echo "$as_me:2407: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h <<\EOF #define _ALL_SOURCE 1 EOF else - echo "$as_me:2405: result: no" >&5 + echo "$as_me:2414: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest* -echo "$as_me:2410: checking for POSIXized ISC" >&5 +echo "$as_me:2419: checking for POSIXized ISC" >&5 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then - echo "$as_me:2415: result: yes" >&5 + echo "$as_me:2424: result: yes" >&5 echo "${ECHO_T}yes" >&6 ISC=yes # If later tests want to check for ISC. @@ -2426,7 +2435,7 @@ EOF CC="$CC -Xp" fi else - echo "$as_me:2429: result: no" >&5 + echo "$as_me:2438: result: no" >&5 echo "${ECHO_T}no" >&6 ISC= fi @@ -2467,7 +2476,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:2470: checking for $ac_word" >&5 +echo "$as_me:2479: 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 @@ -2482,7 +2491,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:2485: found $ac_dir/$ac_word" >&5 +echo "$as_me:2494: found $ac_dir/$ac_word" >&5 break done @@ -2490,10 +2499,10 @@ fi fi BUILD_CC=$ac_cv_prog_BUILD_CC if test -n "$BUILD_CC"; then - echo "$as_me:2493: result: $BUILD_CC" >&5 + echo "$as_me:2502: result: $BUILD_CC" >&5 echo "${ECHO_T}$BUILD_CC" >&6 else - echo "$as_me:2496: result: no" >&5 + echo "$as_me:2505: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2501,12 +2510,12 @@ fi done fi; - echo "$as_me:2504: checking for native build C compiler" >&5 + echo "$as_me:2513: checking for native build C compiler" >&5 echo $ECHO_N "checking for native build C compiler... $ECHO_C" >&6 - echo "$as_me:2506: result: $BUILD_CC" >&5 + echo "$as_me:2515: result: $BUILD_CC" >&5 echo "${ECHO_T}$BUILD_CC" >&6 - echo "$as_me:2509: checking for native build C preprocessor" >&5 + echo "$as_me:2518: 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. @@ -2516,10 +2525,10 @@ if test "${with_build_cpp+set}" = set; then else BUILD_CPP='${BUILD_CC} -E' fi; - echo "$as_me:2519: result: $BUILD_CPP" >&5 + echo "$as_me:2528: result: $BUILD_CPP" >&5 echo "${ECHO_T}$BUILD_CPP" >&6 - echo "$as_me:2522: checking for native build C flags" >&5 + echo "$as_me:2531: 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. @@ -2527,10 +2536,10 @@ if test "${with_build_cflags+set}" = set; then withval="$with_build_cflags" BUILD_CFLAGS="$withval" fi; - echo "$as_me:2530: result: $BUILD_CFLAGS" >&5 + echo "$as_me:2539: result: $BUILD_CFLAGS" >&5 echo "${ECHO_T}$BUILD_CFLAGS" >&6 - echo "$as_me:2533: checking for native build C preprocessor-flags" >&5 + echo "$as_me:2542: 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. @@ -2538,10 +2547,10 @@ if test "${with_build_cppflags+set}" = set; then withval="$with_build_cppflags" BUILD_CPPFLAGS="$withval" fi; - echo "$as_me:2541: result: $BUILD_CPPFLAGS" >&5 + echo "$as_me:2550: result: $BUILD_CPPFLAGS" >&5 echo "${ECHO_T}$BUILD_CPPFLAGS" >&6 - echo "$as_me:2544: checking for native build linker-flags" >&5 + echo "$as_me:2553: 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. @@ -2549,10 +2558,10 @@ if test "${with_build_ldflags+set}" = set; then withval="$with_build_ldflags" BUILD_LDFLAGS="$withval" fi; - echo "$as_me:2552: result: $BUILD_LDFLAGS" >&5 + echo "$as_me:2561: result: $BUILD_LDFLAGS" >&5 echo "${ECHO_T}$BUILD_LDFLAGS" >&6 - echo "$as_me:2555: checking for native build linker-libraries" >&5 + echo "$as_me:2564: 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. @@ -2560,7 +2569,7 @@ if test "${with_build_libs+set}" = set; then withval="$with_build_libs" BUILD_LIBS="$withval" fi; - echo "$as_me:2563: result: $BUILD_LIBS" >&5 + echo "$as_me:2572: result: $BUILD_LIBS" >&5 echo "${ECHO_T}$BUILD_LIBS" >&6 # this assumes we're on Unix. @@ -2570,7 +2579,7 @@ echo "${ECHO_T}$BUILD_LIBS" >&6 : ${BUILD_CC:='${CC}'} if ( test "$BUILD_CC" = "$CC" || test "$BUILD_CC" = '${CC}' ) ; then - { { echo "$as_me:2573: error: Cross-build requires two compilers. + { { echo "$as_me:2582: 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;} @@ -2591,7 +2600,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:2594: checking for $ac_word" >&5 +echo "$as_me:2603: 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 @@ -2606,7 +2615,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:2609: found $ac_dir/$ac_word" >&5 +echo "$as_me:2618: found $ac_dir/$ac_word" >&5 break done @@ -2614,10 +2623,10 @@ fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - echo "$as_me:2617: result: $RANLIB" >&5 + echo "$as_me:2626: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 else - echo "$as_me:2620: result: no" >&5 + echo "$as_me:2629: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2626,7 +2635,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:2629: checking for $ac_word" >&5 +echo "$as_me:2638: 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 @@ -2641,7 +2650,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:2644: found $ac_dir/$ac_word" >&5 +echo "$as_me:2653: found $ac_dir/$ac_word" >&5 break done @@ -2650,10 +2659,10 @@ fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - echo "$as_me:2653: result: $ac_ct_RANLIB" >&5 + echo "$as_me:2662: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 else - echo "$as_me:2656: result: no" >&5 + echo "$as_me:2665: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2665,7 +2674,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:2668: checking for $ac_word" >&5 +echo "$as_me:2677: 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 @@ -2680,7 +2689,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:2683: found $ac_dir/$ac_word" >&5 +echo "$as_me:2692: found $ac_dir/$ac_word" >&5 break done @@ -2688,10 +2697,10 @@ fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - echo "$as_me:2691: result: $AR" >&5 + echo "$as_me:2700: result: $AR" >&5 echo "${ECHO_T}$AR" >&6 else - echo "$as_me:2694: result: no" >&5 + echo "$as_me:2703: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2700,7 +2709,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:2703: checking for $ac_word" >&5 +echo "$as_me:2712: 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 @@ -2715,7 +2724,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:2718: found $ac_dir/$ac_word" >&5 +echo "$as_me:2727: found $ac_dir/$ac_word" >&5 break done @@ -2724,10 +2733,10 @@ fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - echo "$as_me:2727: result: $ac_ct_AR" >&5 + echo "$as_me:2736: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6 else - echo "$as_me:2730: result: no" >&5 + echo "$as_me:2739: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -2736,7 +2745,7 @@ else AR="$ac_cv_prog_AR" fi -echo "$as_me:2739: checking for options to update archives" >&5 +echo "$as_me:2748: 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 @@ -2749,13 +2758,13 @@ else rm -f conftest.a cat >conftest.$ac_ext <<EOF -#line 2752 "configure" +#line 2761 "configure" int testdata[3] = { 123, 456, 789 }; EOF - if { (eval echo "$as_me:2755: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:2764: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2758: \$? = $ac_status" >&5 + echo "$as_me:2767: \$? = $ac_status" >&5 (exit $ac_status); } ; then $AR $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&5 1>/dev/null if test -f conftest.a ; then @@ -2765,7 +2774,7 @@ EOF else test -n "$verbose" && echo " cannot compile test-program" 1>&6 -echo "${as_me-configure}:2768: testing cannot compile test-program ..." 1>&5 +echo "${as_me-configure}:2777: testing cannot compile test-program ..." 1>&5 break fi @@ -2773,13 +2782,13 @@ echo "${as_me-configure}:2768: testing cannot compile test-program ..." 1>&5 rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext fi -echo "$as_me:2776: result: $cf_cv_ar_flags" >&5 +echo "$as_me:2785: result: $cf_cv_ar_flags" >&5 echo "${ECHO_T}$cf_cv_ar_flags" >&6 test -z "$ARFLAGS" && ARFLAGS=$cf_cv_ar_flags ARFLAGS=$cf_cv_ar_flags -echo "$as_me:2782: checking if you want to see long compiling messages" >&5 +echo "$as_me:2791: 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. @@ -2813,7 +2822,7 @@ else ECHO_CC='' fi; -echo "$as_me:2816: result: $enableval" >&5 +echo "$as_me:2825: result: $enableval" >&5 echo "${ECHO_T}$enableval" >&6 # special case for WWW/* @@ -2823,7 +2832,7 @@ else DONT_ECHO_CC='' fi -echo "$as_me:2826: checking if you want to check memory-leaks" >&5 +echo "$as_me:2835: 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. @@ -2840,7 +2849,7 @@ else with_leak_checks=no fi; -echo "$as_me:2843: result: $with_leak_checks" >&5 +echo "$as_me:2852: result: $with_leak_checks" >&5 echo "${ECHO_T}$with_leak_checks" >&6 test "$with_leak_checks" = "yes" && cat >>confdefs.h <<\EOF #define LY_FIND_LEAKS 1 @@ -2849,7 +2858,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:2852: checking if you want to enable debug-code" >&5 +echo "$as_me:2861: 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. @@ -2866,7 +2875,7 @@ else with_debug=no fi; -echo "$as_me:2869: result: $with_debug" >&5 +echo "$as_me:2878: result: $with_debug" >&5 echo "${ECHO_T}$with_debug" >&6 if test "$with_debug" = "yes" ; then case $host_os in @@ -2891,7 +2900,7 @@ else esac fi -echo "$as_me:2894: checking if you want to enable lynx trace code *recommended* " >&5 +echo "$as_me:2903: 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. @@ -2908,13 +2917,13 @@ else with_trace=yes fi; -echo "$as_me:2911: result: $with_trace" >&5 +echo "$as_me:2920: result: $with_trace" >&5 echo "${ECHO_T}$with_trace" >&6 test $with_trace = no && cat >>confdefs.h <<\EOF #define NO_LYNX_TRACE 1 EOF -echo "$as_me:2917: checking if you want verbose trace code" >&5 +echo "$as_me:2926: 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. @@ -2931,7 +2940,7 @@ else with_vertrace=no fi; -echo "$as_me:2934: result: $with_vertrace" >&5 +echo "$as_me:2943: result: $with_vertrace" >&5 echo "${ECHO_T}$with_vertrace" >&6 test $with_vertrace = yes && cat >>confdefs.h <<\EOF #define LY_TRACELINE __LINE__ @@ -2939,7 +2948,7 @@ EOF if test -n "$GCC" then -echo "$as_me:2942: checking if you want to turn on gcc warnings" >&5 +echo "$as_me:2951: 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. @@ -2956,7 +2965,7 @@ else with_warnings=no fi; -echo "$as_me:2959: result: $with_warnings" >&5 +echo "$as_me:2968: result: $with_warnings" >&5 echo "${ECHO_T}$with_warnings" >&6 if test "$with_warnings" = "yes" then @@ -2979,10 +2988,10 @@ cat > conftest.i <<EOF EOF if test "$GCC" = yes then - { echo "$as_me:2982: checking for $CC __attribute__ directives..." >&5 + { echo "$as_me:2991: checking for $CC __attribute__ directives..." >&5 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} cat > conftest.$ac_ext <<EOF -#line 2985 "${as_me-configure}" +#line 2994 "${as_me-configure}" #include "confdefs.h" #include "conftest.h" #include "conftest.i" @@ -3020,12 +3029,12 @@ EOF EOF ;; esac - if { (eval echo "$as_me:3023: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:3032: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3026: \$? = $ac_status" >&5 + echo "$as_me:3035: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:3028: result: ... $cf_attribute" >&5 + test -n "$verbose" && echo "$as_me:3037: result: ... $cf_attribute" >&5 echo "${ECHO_T}... $cf_attribute" >&6 cat conftest.h >>confdefs.h fi @@ -3038,11 +3047,11 @@ fi GCC_VERSION=none if test "$GCC" = yes ; then - echo "$as_me:3041: checking version of $CC" >&5 + echo "$as_me:3050: checking version of $CC" >&5 echo $ECHO_N "checking version of $CC... $ECHO_C" >&6 GCC_VERSION="`${CC} --version| sed -e '2,$d' -e 's/^.*(GCC) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`" test -z "$GCC_VERSION" && GCC_VERSION=unknown - echo "$as_me:3045: result: $GCC_VERSION" >&5 + echo "$as_me:3054: result: $GCC_VERSION" >&5 echo "${ECHO_T}$GCC_VERSION" >&6 fi @@ -3051,12 +3060,12 @@ INTEL_COMPILER=no if test "$GCC" = yes ; then case $host_os in linux*|gnu*) - echo "$as_me:3054: checking if this is really Intel C compiler" >&5 + echo "$as_me:3063: 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 3059 "configure" +#line 3068 "configure" #include "confdefs.h" int @@ -3073,16 +3082,16 @@ make an error } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3076: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3085: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3079: \$? = $ac_status" >&5 + echo "$as_me:3088: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3082: \"$ac_try\"") >&5 + { (eval echo "$as_me:3091: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3085: \$? = $ac_status" >&5 + echo "$as_me:3094: \$? = $ac_status" >&5 (exit $ac_status); }; }; then INTEL_COMPILER=yes cf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc" @@ -3093,14 +3102,14 @@ cat conftest.$ac_ext >&5 fi rm -f conftest.$ac_objext conftest.$ac_ext CFLAGS="$cf_save_CFLAGS" - echo "$as_me:3096: result: $INTEL_COMPILER" >&5 + echo "$as_me:3105: result: $INTEL_COMPILER" >&5 echo "${ECHO_T}$INTEL_COMPILER" >&6 ;; esac fi cat > conftest.$ac_ext <<EOF -#line 3103 "${as_me-configure}" +#line 3112 "${as_me-configure}" int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } EOF @@ -3117,7 +3126,7 @@ then # remark #981: operands are evaluated in unspecified order # warning #279: controlling expression is constant - { echo "$as_me:3120: checking for $CC warning options..." >&5 + { echo "$as_me:3129: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="-Wall" @@ -3133,12 +3142,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:3136: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:3145: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3139: \$? = $ac_status" >&5 + echo "$as_me:3148: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:3141: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:3150: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi @@ -3147,7 +3156,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 elif test "$GCC" = yes then - { echo "$as_me:3150: checking for $CC warning options..." >&5 + { echo "$as_me:3159: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="-W -Wall" @@ -3167,12 +3176,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} Wundef $cf_warn_CONST do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:3170: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:3179: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3173: \$? = $ac_status" >&5 + echo "$as_me:3182: \$? = $ac_status" >&5 (exit $ac_status); }; then - test -n "$verbose" && echo "$as_me:3175: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:3184: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case $cf_opt in #(vi Wcast-qual) #(vi @@ -3183,7 +3192,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 [34].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me-configure}:3186: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me-configure}:3195: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac |