Re: [PATCH 2/2] Ignore failure of setting mode on a temporary file on OS/2

2023-10-14 Thread Russ Allbery
rl 5.33.3 (which included 0.2311). -- Russ Allbery (ea...@eyrie.org) <https://www.eyrie.org/~eagle/>

Re: Turn on compiler warnings by default for AC_PROG_CC, AC_PROG_CXX & AC_PROG_FC

2014-01-17 Thread Russ Allbery
to a lesser extent to --std=c99 or --std=c11. -- Russ Allbery (ea...@eyrie.org) <http://www.eyrie.org/~eagle/>

Re: [PATCH 0/2] Modernize header checks

2013-06-01 Thread Russ Allbery
Peter Rosin writes: > On 2013-06-01 08:09, Russ Allbery wrote: >> Peter Rosin writes: >>> On 2013-06-01 00:06, Russ Allbery wrote: >>>> Autoconf doesn't work with MSVC directly so far as I know. All of >>>> the packages I have that are ported to

Re: [PATCH 0/2] Modernize header checks

2013-05-31 Thread Russ Allbery
Peter Rosin writes: > On 2013-06-01 00:06, Russ Allbery wrote: >> Autoconf doesn't work with MSVC directly so far as I know. All of the >> packages I have that are ported to MSVC have a separate hand-written >> config.h that's used for MSVC builds, and in that fi

Re: [PATCH 0/2] Modernize header checks

2013-05-31 Thread Russ Allbery
define it under those circumstances. Or > have I misunderstood something? Autoconf doesn't work with MSVC directly so far as I know. All of the packages I have that are ported to MSVC have a separate hand-written config.h that's used for MSVC builds, and in that file one simply doesn

Re: [PATCH 0/2] Modernize header checks

2013-05-31 Thread Russ Allbery
e my concern. -- Russ Allbery (r...@stanford.edu) <http://www.eyrie.org/~eagle/>

Re: [PATCH 0/2] Modernize header checks

2013-05-31 Thread Russ Allbery
hat the standard Autoconf header probes do. This behavior is not currently clearly documented, but I will point out that the current documentation of AC_INCLUDES_DEFAULT shows use of the HAVE_STRINGS_H define without any mention of any other required checks. -- Russ Allbery (r...@stanford.edu) <http://www.eyrie.org/~eagle/>

Re: [PATCH 0/2] Modernize header checks

2013-05-31 Thread Russ Allbery
actually enforce that and do not prototype those functions in string.h. I'm quite sure there is code out there that assumes that Autoconf will probe for strings.h as a side effect of other probes and set HAVE_STRINGS_H, and therefore doesn't probe for it explicitly. (I maintain some of

Re: [PATCH 1/2] AC_CONFIG_MACRO_DIRS: new macro, mostly for aclocal

2012-10-21 Thread Russ Allbery
AFS) retrofitting shared library support onto an old (20+ years in this case) code base with its own extremely complex build system. -- Russ Allbery (r...@stanford.edu) <http://www.eyrie.org/~eagle/>

Re: [PATCH 1/10] Proper file name escaping in Autoconf programs and Perl modules.

2007-12-06 Thread Russ Allbery
rgument form to open a file with arbitrary weird characters in it, open(FOO, '<', $file); otherwise it's necessary to protect any leading and trailing whitespace: $file =~ s#^(\s)#./$1#; open(FOO, &q

Re: [PATCH 1/10] Proper file name escaping in Autoconf programs and Perl modules.

2007-12-04 Thread Russ Allbery
se days. When using the two-argument form, files with leading or trailing whitespace will still cause you problems even with an explicit mode character always prepended. -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."

2006-12-21 Thread Russ Allbery
This is a horrible idea. Please do not cripple the compiler on projects that use Autoconf because some people write code that makes assumptions it shouldn't. This would be like automatically adding -fpermissive to CXXFLAGS or adding -fno-strict-aliasing to CFLAGS, and just as wrong. --

Re: AC_CHECK_SIZEOF failing on undefined HAVE_STDINT_H with -Werror

2006-08-15 Thread Russ Allbery
is was a GCC macro (I think that's where it started), because it's expressing trinary information. -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>

Re: AC_PATH_XTRA and -rpath

2006-08-03 Thread Russ Allbery
Patrick Welche <[EMAIL PROTECTED]> writes: > On Thu, Jul 20, 2006 at 07:03:27PM -0700, Russ Allbery wrote: >> Adding -R for system X libraries is always the wrong thing to do on >> Debian systems and will break multiarch builds. I really don't think >> this is

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Russ Allbery
ystem X libraries is always the wrong thing to do on Debian systems and will break multiarch builds. I really don't think this is the right solution. -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>