lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Lynx 2.8.8rel.2 patch: aclocal.m4 AC_CHECK_SIZEOF


From: Thomas Dickey
Subject: Re: [Lynx-dev] Lynx 2.8.8rel.2 patch: aclocal.m4 AC_CHECK_SIZEOF
Date: Sat, 9 May 2015 10:54:36 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, May 09, 2015 at 10:48:52AM -0400, Thomas Dickey wrote:
...
> I think it's a problem with my use of the parameter substitutions in the
> shell.  Here is a suggested change which may fix the problem you reported:

that was against 2.8.9dev.6 - here is a diff against 2.8.8rel.2

--- aclocal.m4.orig     2014-01-11 12:09:11.000000000 -0500
+++ aclocal.m4  2015-05-09 10:52:21.000000000 -0400
@@ -1554,8 +1554,8 @@
 dnl includes several header files.
 AC_DEFUN([CF_CHECK_SIZEOF],[
 AC_CHECK_SIZEOF([$1],[$2])
-if test "${ac_cv_type_$1:+set}" = set; then
-       if test "${ac_cv_sizeof_$1:+set}" != set; then
+if test "${ac_cv_type_$1+set}" = set; then
+       if test "${ac_cv_sizeof_$1+set}" != set; then
                AC_MSG_WARN(using $2 for sizeof $1)
                ac_cv_sizeof_$1=$2
        elif test "x${ac_cv_sizeof_$1}" = x0; then
--- configure.orig      2014-03-09 10:12:51.000000000 -0400
+++ configure   2015-05-09 10:52:27.000000000 -0400
@@ -1,7 +1,7 @@
 #! /bin/sh
 # From configure.in 2.8.8rel.2.
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by Autoconf 2.52.20121002.
+# Generated by Autoconf 2.52.20141204.
 #
 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
 # Free Software Foundation, Inc.
@@ -879,7 +879,7 @@
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by $as_me, which was
-generated by GNU Autoconf 2.52.20121002.  Invocation command line was
+generated by GNU Autoconf 2.52.20141204.  Invocation command line was
 
   $ $0 $@
 
@@ -1085,9 +1085,9 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 ac_main_return=return
 
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
-  *c*,-n*) ECHO_N= ECHO_C='
-' ECHO_T='     ' ;;
+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= ;;
 esac
@@ -27523,8 +27523,8 @@
 #define SIZEOF_INT $ac_cv_sizeof_int
 EOF
 
-if test "${ac_cv_type_int:+set}" = set; then
-       if test "${ac_cv_sizeof_int:+set}" != set; then
+if test "${ac_cv_type_int+set}" = set; then
+       if test "${ac_cv_sizeof_int+set}" != set; then
                { echo "$as_me:27528: WARNING: using 4 for sizeof int" >&5
 echo "$as_me: WARNING: using 4 for sizeof int" >&2;}
                ac_cv_sizeof_int=4
@@ -27772,8 +27772,8 @@
 #define SIZEOF_LONG $ac_cv_sizeof_long
 EOF
 
-if test "${ac_cv_type_long:+set}" = set; then
-       if test "${ac_cv_sizeof_long:+set}" != set; then
+if test "${ac_cv_type_long+set}" = set; then
+       if test "${ac_cv_sizeof_long+set}" != set; then
                { echo "$as_me:27777: WARNING: using 4 for sizeof long" >&5
 echo "$as_me: WARNING: using 4 for sizeof long" >&2;}
                ac_cv_sizeof_long=4
@@ -28021,8 +28021,8 @@
 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
 EOF
 
-if test "${ac_cv_type_off_t:+set}" = set; then
-       if test "${ac_cv_sizeof_off_t:+set}" != set; then
+if test "${ac_cv_type_off_t+set}" = set; then
+       if test "${ac_cv_sizeof_off_t+set}" != set; then
                { echo "$as_me:28026: 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
@@ -28270,8 +28270,8 @@
 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
 EOF
 
-if test "${ac_cv_type_time_t:+set}" = set; then
-       if test "${ac_cv_sizeof_time_t:+set}" != set; then
+if test "${ac_cv_type_time_t+set}" = set; then
+       if test "${ac_cv_sizeof_time_t+set}" != set; then
                { echo "$as_me:28275: 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
@@ -43308,7 +43308,7 @@
 cat >>$CONFIG_STATUS <<EOF
 ac_cs_version="\\
 config.status
-configured by $0, generated by GNU Autoconf 2.52.20121002,
+configured by $0, generated by GNU Autoconf 2.52.20141204,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
@@ -43390,7 +43390,7 @@
 ## Running config.status.  ##
 ## ----------------------- ##
 
-This file was extended by $as_me 2.52.20121002, executed with
+This file was extended by $as_me 2.52.20141204, executed with
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
   CONFIG_LINKS    = $CONFIG_LINKS

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]