Re: How to force location of headers

2012-04-09 Thread Peter O'Gorman
On 04/09/2012 08:27 AM, Kabi wrote: I am using AM_CFLAGS to include directories where make should look for headers, but only headers surrounded by when included is overridden. make is still looking for headers surrounded by in the directory with the projects source .c files. Searching for

Re: [GNU Autoconf 2.68] testsuite: 1 10 11 12 14 16 17 20 22 24 25 27 28 32 33 36 38 208 211 212 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 231 232 233 234 235 236 237 238 239 240

2012-03-07 Thread Peter O'Gorman
On 03/07/2012 02:26 AM, Paul Eggert wrote: On 03/06/2012 11:54 PM, Martin Dunja Zaun wrote: The failures should be easily reproducible on a vanilla Solaris 11/x86_64. Thanks, I guess someone with easy access to an installation of that OS will have to dive in a bit more. noexec seems to

Re: uint64_t fails with C++

2011-12-07 Thread Peter O'Gorman
On 12/07/2011 12:08 PM, Werner LEMBERG wrote: #if defined UINT64_MAX || defined uint64_t typedef uint64_t TA_ULongLong; #else # error No unsigned 64bit wide data type found. #endif stdint.h will not define UINT64_MAX if __cplusplus is defined unless __STDC_LIMIT_MACROS

Re: uint64_t fails with C++

2011-12-07 Thread Peter O'Gorman
On 12/07/2011 01:04 PM, Werner LEMBERG wrote: It's nothing to do with autoconf really, configure correctly finds uint64_t, your C program then checks for UINT64_MAX or a uint64_t macro instead of #includeconfig.h and checking for HAVE_UINT64_T. HAVE_UINT64_T is *not* defined in

Re: bug in autoconf-2.64

2011-02-22 Thread Peter O'Gorman
On 02/22/2011 04:04 PM, Eric Blake wrote: [adding bug-m4] On 02/22/2011 01:38 PM, Mike Stump wrote: On Feb 22, 2011, at 11:00 AM, Eric Blake wrote: Hmm, can you point to a URL of the web archive of that thread, to see if I can glean anything from that discussion?

Re: Use pipe and sed in configure.ac

2011-02-10 Thread Peter O'Gorman
On 02/09/2011 09:39 PM, Lyre wrote: PHPINC=`php-config --includes` PHPCDIR=`php-config --configure-options | sed -n 's|.*--with-config-file-scan-dir=\([^ ]*\).*|\1|p'` Probably the [] in your sed expression need extra quoting. e.g. \([[^ ]]*\) You can verify by looking at the generated

Re: Check for global symbol

2011-01-26 Thread Peter O'Gorman
On 01/26/2011 01:15 PM, tom fogal wrote: Sergio Belkinseb...@gmail.com writes: Hi, Is there a way to check is a library function is global? AC_TRY_COMPILE(..., [extern rettype funcname(args);], [funcname(...);] ) This would need to be AC_TRY_LINK, but it's possible to just

Re: -xc99=all and libraries on Solaris 10

2010-12-27 Thread Peter O'Gorman
though we consistently set CC, CFLAGS and so on at build time, we sometimes get libraries with __xpg symbols dependent on whether the configure.ac has one of those two macros. We patch our autoconf to not add -xc99=all to avoid the issue. Peter -- Peter O'Gorman po...@thewrittenword.com

Re: How does one specify linking to 64 bit libraries when there is a choice?

2010-12-20 Thread Peter O'Gorman
On 12/20/2010 10:54 AM, Bruce Korb wrote: If the default build is 64 bit, why does it make sense that the default library directory is the 32 bit library? Because the user may not be building for multiple architectures, in which case a default of $prefix/lib for libdir makes perfect sense

Re: echo vs. printf regression (darwin8)

2010-08-16 Thread Peter O'Gorman
On 08/16/2010 07:37 AM, Paolo Bonzini wrote: On 08/16/2010 12:54 AM, David Fang wrote: Actually, 'pogma' pointed out that this comes from the autoconf macros in libtool.m4, near AC_MSG_CHECKING([how to print strings]). I'm using libtool-2.2.10 right now. I don't understand, is it breaking in

Re: determining 32 v. 64 bit compilatio

2010-06-30 Thread Peter O'Gorman
On 06/30/2010 03:55 AM, Wesley Smith wrote: I don't disagree, but let's consider this an academic exercise at this point. I'd actually like to know how to do this regardless of whether it violates anyones code sensibilities. Before we answer your question, I'd like a clarification: what would

-xc99=all and libraries on Solaris 10

2010-02-10 Thread Peter O'Gorman
, does anyone happen to know what exactly libc does differently with __xpg4=1 (the __xpg6 settings are documented in http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/inc/xpg6.h) Peter -- Peter O'Gorman po...@thewrittenword.com

Re: getting the file extension of a shared object

2009-06-22 Thread Peter O'Gorman
eval libltdl_cv_shlibext=$shrext_cmds Or similarly but setting 'module=no' first. Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: autoconf does not process README.in

2009-05-29 Thread Peter O'Gorman
? Usually this file is read before the user ever runs ./configure, and contains package specific information. Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: Redefinition of _FILE_OFFSET_BITS triggers an unusual amount of warnings in Solaris.

2009-04-24 Thread Peter O'Gorman
. Aren't these warnings because of including config.h after string.h? I think that they'll go away if you ensure that config.h is the first thing included in every source file. Peter -- Peter O'Gorman http://pogma.com

Re: Problem with AC_CHECK_TYPE on MacOS X

2009-03-31 Thread Peter O'Gorman
from him, and obviously that involves trying to keep my requests trivially simple for him. Where does -D_FORTIFY_SOURCE come from, without this /usr/include/secure/_string.h would not be included. Peter -- Peter O'Gorman http://pogma.com

Re: library search test fails, please help

2009-02-22 Thread Peter O'Gorman
/include -L/Users/aaragon/Lib/lib conftest.cpp -lcpputils 5 Undefined symbols: _flip, referenced from: I'm guessing that the cpputils library does not define _flip. Does nm -g libcpputils.a | grep _flip show it with a capital letter? Peter -- Peter O'Gorman http://pogma.com

Re: Detailed structure checks

2008-11-28 Thread Peter O'Gorman
Tim Post wrote: Hi Eric, On Thu, 2008-11-27 at 20:53 -0700, Eric Blake wrote: AC_CHECK_MEMBERS does what you want. Thank you. I'm not sure how I could have missed that. Autoconf is probably one of the best documented projects available .. the manual is so massive that sometimes its

Re: testsuite.log for autoconf 2.63 on OS X 10.3.9 Server

2008-10-07 Thread Peter O'Gorman
://paste.lisp.org/display/66595 Peter -- Peter O'Gorman http://pogma.com

Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-16 Thread Peter O'Gorman
manual. Has it been reported? Seems like the kind of thing that could be fixed before Solaris 11 is released. http://defect.opensolaris.org/ Peter -- Peter O'Gorman http://pogma.com

Re: [PATCH] posix-shell.m4: reject Solaris 11's /bin/sh (due to umask)

2008-09-16 Thread Peter O'Gorman
Jim Meyering wrote: Peter O'Gorman [EMAIL PROTECTED] wrote: Eric Blake wrote: According to Jim Meyering on 9/16/2008 3:58 AM: Jim Meyering [EMAIL PROTECTED] wrote: I discovered that Solaris 11's /bin/sh exhibits the following surprising behavior: $ /bin/sh -c 'umask 22; (umask 0

Re: Noooooooooo!

2008-09-02 Thread Peter O'Gorman
in the future. Josef noted that he did not want this to change. I'm inclined to agree with him, people who are cross-compiling may not have all of the `tools' available as triplet-prefixed-name, but are likely to have their PATH set correctly to point at the cross-tools. Peter -- Peter O'Gorman

Re: mailing list behavior

2008-08-29 Thread Peter O'Gorman
few of the lists that I am subscribed to set the Reply-To header. Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-22 Thread Peter O'Gorman
is not enabled. At least that is how the manual documents this. Please commit with above changes, or tell me to do so for you, if you agree with things. If you could commit for me with those changes that would be great. I don't have write access to autoconf. Peter -- Peter O'Gorman [EMAIL PROTECTED]

Re: configure.ac, Makefile.am question

2008-08-22 Thread Peter O'Gorman
you will harm the portability of your software, those with different systems will be unable to send you patches, only bug reports (and they may not even bother with bug reports, personally, I would just give up and delete it). Peter -- Peter O'Gorman http://pogma.com

Re: document how to create universal binaries

2008-08-17 Thread Peter O'Gorman
not sure it is best to put this in the INSTALL document without any warnings or caveats. Apple recommends building once per architecture (on a machine that can do so natively) and using lipo to create a universal binary. That way most of the problems are avoided. Peter -- Peter O'Gorman http

Re: document how to create universal binaries

2008-08-17 Thread Peter O'Gorman
Bruno Haible wrote: Peter O'Gorman wrote: +On MacOS X systems, you can create libraries and executables that work For 10.4.x ppc you had to install an SDK and add -isysroot flags. ok, please change to doc patch to say On MacOS X systems, version 10.5 or newer. For automake using projects

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-16 Thread Peter O'Gorman
Ralf mentioned that he was going to do some testing (I have tested powerpc-aix and i386-darwin, not got to linux yet), I am happy to wait until his testing is done and ask him to push it when he's satisfied (assuming that is ok with Ralf). Peter -- Peter O'Gorman [EMAIL PROTECTED]

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-15 Thread Peter O'Gorman
WORDS_BIGENDIAN */ # endif when building on an x86-darwin machine. That is, of course, wrong. Peter -- Peter O'Gorman [EMAIL PROTECTED]

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-14 Thread Peter O'Gorman
On Wed, Aug 13, 2008 at 08:19:03PM -0600, Eric Blake wrote: According to Peter O'Gorman on 8/13/2008 12:13 PM: | Hi, | | checking whether byte ordering is bigendian... universal is not the | correct answer on powerpc-ibm-aix. The question is not really correct | either (yes/no question

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-14 Thread Peter O'Gorman
On Thu, Aug 14, 2008 at 09:39:32AM -0500, Peter O'Gorman wrote: On Wed, Aug 13, 2008 at 08:19:03PM -0600, Eric Blake wrote: According to Peter O'Gorman on 8/13/2008 12:13 PM: | Hi, | | checking whether byte ordering is bigendian... universal is not the | correct answer on powerpc-ibm

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-14 Thread Peter O'Gorman
is occuring. universal) + AC_DEFINE([AC_APPLE_UNIVERSAL_BUILD],1,[Define if building universal]) s/universal/ (internal helper macro)/ ??? Good idea. Peter -- Peter O'Gorman [EMAIL PROTECTED]

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-14 Thread Peter O'Gorman
builds it will have the __BIG_ENDIAN__ macro defined and set to 1, regardless of the build machines endianness. Peter -- Peter O'Gorman [EMAIL PROTECTED]

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-14 Thread Peter O'Gorman
On Wed, Aug 13, 2008 at 08:19:03PM -0600, Eric Blake wrote: According to Peter O'Gorman on 8/13/2008 12:13 PM: | Hi, | | checking whether byte ordering is bigendian... universal is not the | correct answer on powerpc-ibm-aix. The question is not really correct | either (yes/no question

Re: AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-14 Thread Peter O'Gorman
On Thu, Aug 14, 2008 at 09:39:32AM -0500, Peter O'Gorman wrote: On Wed, Aug 13, 2008 at 08:19:03PM -0600, Eric Blake wrote: According to Peter O'Gorman on 8/13/2008 12:13 PM: | Hi, | | checking whether byte ordering is bigendian... universal is not the | correct answer on powerpc-ibm

AC_C_BIGENDIAN answers universal on powerpc-aix

2008-08-13 Thread Peter O'Gorman
with universal binary issues, it came as a bit of a surprise on aix though. Peter -- Peter O'Gorman [EMAIL PROTECTED] ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: failed build from git repo

2008-06-27 Thread Peter O'Gorman
are bootstrapping on, or it is not in your path, things will fail like this. You can work around it by doing 'echo 2.62a .tarball-version' before you bootstrap. Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http

Re: AC_PATH_X does not work without xmkmf

2008-03-28 Thread Peter O'Gorman
Peter O'Gorman wrote: [cross-posting, if emails from mailman about awaiting moderator approval bother you, feel free to drop xquartz-dev] Hi, Martin Costabel reported on Apple's xquartz-dev mailing list that AC_PATH_X fails to work on the latest release candidate of X11 for Mac OS X

AC_PATH_X does not work without xmkmf

2008-03-28 Thread Peter O'Gorman
the test take longer, of course. There is also the possibility that autoconf use pkgconfig to check for the X11 .pc files. We are hoping to persuade Jeremy to add xmkmf and imake back before the next release as a workaround, but this is really an autoconf problem. Thanks, Peter -- Peter O'Gorman http

Re: AC_PATH_X does not work without xmkmf

2008-03-28 Thread Peter O'Gorman
Peter O'Gorman wrote: [cross-posting, if emails from mailman about awaiting moderator approval bother you, feel free to drop xquartz-dev] Hi, Martin Costabel reported on Apple's xquartz-dev mailing list that AC_PATH_X fails to work on the latest release candidate of X11 for Mac OS X

Re: header check, cross compiling and compiler version?

2008-03-21 Thread Peter O'Gorman
vars LIBRARY_PATH and CPATH. Does this answer your question? Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: testsuite generation on darwin broken

2008-03-20 Thread Peter O'Gorman
://git.savannah.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=c1841dc6d2e95ebe4f4c705a36254447957152c2 Peter -- Peter O'Gorman http://pogma.com

Re: just one of a million reasons why autoconf is a worthless piece of shit

2008-03-16 Thread Peter O'Gorman
the gnome package intltool). Why are you trying to generate these files? They should have been included in the tarball that you downloaded. If they were not, then complain to the package author. Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing

Re: aclocal or acinclude?

2008-03-14 Thread Peter O'Gorman
own macros in acinclude.m4. The aclocal program will m4_include acinclude.m4 at the end of the generated aclocal.m4. autoconf itself knows nothing about acinclude.m4. Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org

Re: aclocal or acinclude?

2008-03-14 Thread Peter O'Gorman
does not mention this file, only aclocal.m4 and acsite.m4. Tim No, see the automake manual http://www.gnu.org/software/automake/manual/automake.html#Examples Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http

Re: Building Fat libraries with autoconf-based build systems

2008-01-22 Thread Peter O'Gorman
have to give details of what is failing (including the error message) if it fails for you. Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: 1-gary-leopard-dSYM-removal.patch

2008-01-19 Thread Peter O'Gorman
./configure; make; make check; make distcheck Should work around the problem also (untested though). Peter -- Peter O'Gorman http://pogma.com

Re: Problems with AC_LANG_WERROR

2008-01-04 Thread Peter O'Gorman
be a public method to turn it on and off for individual tests without resorting to changing the value of ac_c_werror_flag (it is set to yes or no). Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org

Re: AC_PROG_LEX broken on IRIX with MIPSpro Compilers

2007-12-29 Thread Peter O'Gorman
Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: After macro expansion that line turns into: { do { *yy_cp = yy_hold_char; yy_c_buf_p = yy_cp = yy_bp + input () != 0 - 0; yytext = yy_bp; yyleng = (int) (yy_cp - yy_bp); yy_hold_char = *yy_cp; *yy_cp = '\0'; yy_c_buf_p = yy_cp

Re: AC_PROG_LEX broken on IRIX with MIPSpro Compilers

2007-12-29 Thread Peter O'Gorman
Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: I see no reason why autoconf should not work with flex-2.5.4 though. I suppose it depends on what one means by work. My own suggestion would be for Autoconf to reject a lex implementation that does not implement yyless correctly

Re: AC_PROG_LEX broken on IRIX with MIPSpro Compilers

2007-12-26 Thread Peter O'Gorman
Peter O'Gorman wrote: Now, looking at the expanded version, I am unsure if my patch is correct, is the test supposed to be that input() != 0 or that (yy_bp + input ()) != 0 ? At the moment, due to operator precedence, it is testing that yy_bp + input () is non-zero, is that intentional

Re: AC_PROG_LEX broken on IRIX with MIPSpro Compilers

2007-12-25 Thread Peter O'Gorman
Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: -e { yyless (input () != 0); } +e { yyless ((input () != 0)); } Why is this patch necessary? yyless is supposed to take an int parameter, and another set of parentheses shouldn't affect the parameter's type or value. After

Re: XCode 3.0 sys/types.h breaks AC_CACHE_CHECK for ac_cv_have_intxx_t

2007-11-22 Thread Peter O'Gorman
move the header checks to just after the compiler check, rerun autoconf, and configure again, you should have better results. Thanks, Peter -- Peter O'Gorman http://pogma.com ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org

Re: Mac OS X Leopard and conftest.dSYM directories

2007-11-12 Thread Peter O'Gorman
On 12-Nov-07, at 1:39 PM, Ralf Wildenhues wrote: make check TESTSUITEFLAGS='-v -x -k libtool' I don't see any dSYM. Thanks! Peter

Re: Mac OS X Leopard and conftest.dSYM directories

2007-11-12 Thread Peter O'Gorman
Ralf Wildenhues wrote: * Peter O'Gorman wrote on Mon, Nov 12, 2007 at 06:44:36AM CET: On 11-Nov-07, at 8:41 AM, Ralf Wildenhues wrote: OK? Could somebody with Leopard access please test this by running make all check TESTSUITEFLAGS='-v -x' Looks like one or two spots were missed. Here

Re: Mac OS X Leopard and conftest.dSYM directories

2007-11-12 Thread Peter O'Gorman
On 12-Nov-07, at 1:39 PM, Ralf Wildenhues wrote: make check TESTSUITEFLAGS='-v -x -k libtool' I don't see any dSYM. Thanks! Peter

Re: Mac OS X Leopard and conftest.dSYM directories

2007-11-11 Thread Peter O'Gorman
Ralf Wildenhues wrote: [ http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/5811/focus=5817 ] AFAICS Automake needs no changes. Proposed patches for Libtool HEAD and branch-1-5. OK? It is okay with me. You sure that you want to proceed this way, rather than changing rm conftest*

Re: Mac OS X Leopard and conftest.dSYM directories

2007-11-11 Thread Peter O'Gorman
On 11-Nov-07, at 8:41 AM, Ralf Wildenhues wrote: Proposed patch for Autoconf (adding Jeff to THANKS not shown). We can thank Apple for needing one more fork per link test now. :-/ FWIW, I do think that, of the fortran.m4 changes, all but the first hunk are not necessary, rather, the `rm

Re: Mac OS X Leopard and conftest.dSYM directories

2007-11-10 Thread Peter O'Gorman
Jeff Squyres wrote: Ralf -- thanks for reporting this; I had a hectic week and could not get to this issue before now. We noticed this issue in the context of the Open MPI project (my laptop is a MacBook, just recently upgraded to Leopard). Note that I am *not* an OS X expert! Here's the

Re: Mac OS X Leopard and conftest.dSYM directories

2007-11-10 Thread Peter O'Gorman
Peter O'Gorman wrote: Jeff Squyres wrote: Ralf -- thanks for reporting this; I had a hectic week and could not get to this issue before now. We noticed this issue in the context of the Open MPI project (my laptop is a MacBook, just recently upgraded to Leopard). Note that I am *not* an OS X

Re: Mac OS X Leopard and conftest.dSYM directories

2007-11-10 Thread Peter O'Gorman
Ralf Wildenhues wrote: Hello Peter, Jeff, Thanks for your additional information; and thanks, Peter, for trying to work against this, umm, a bit ugly situation. * Peter O'Gorman wrote on Sat, Nov 10, 2007 at 04:01:09PM CET: Peter O'Gorman wrote: When you do cc -o foo foo.c, Of course, I

Re: static library contains static library

2007-06-10 Thread Peter O'Gorman
On Jun 10, 2007, at 4:35 AM, Ralf Wildenhues wrote: Hello Peter, all, * Peter O'Gorman wrote on Sun, Jun 03, 2007 at 07:37:39AM CEST: 2007-06-03 Peter O'Gorman [EMAIL PROTECTED] [...] +AT_SETUP([static library contains static library]) [...] +archive_contents=`ar -t libbar.a

Re: Darwin universal binaries and LDFLAGS conundrum

2007-05-24 Thread Peter O'Gorman
On Thu, 2007-05-24 at 09:56 +1000, Bill Northcott wrote: On 24/05/2007, at 2:00 AM, Martin-Gilles Lavoie wrote: To resume the problem, I need to build a Universal Binary (aka, PPC + i386) library of BerkeleyDB. Now, normally, this is a simple task but it seems Autoconfig is working against

Re: Darwin universal binaries and LDFLAGS conundrum

2007-05-24 Thread Peter O'Gorman
On Thu, 2007-05-24 at 14:16 -0400, Martin-Gilles Lavoie wrote: On 23 mai 2007, at 10:03, Martin-Gilles Lavoie wrote: This is just an update on the status of my problem for you guys to be curious at. At this moment, I'm waiting for some info from the BerkeleyDB guys (their autoconf

Re: Darwin universal binaries and LDFLAGS conundrum

2007-05-23 Thread Peter O'Gorman
On Wed, 2007-05-23 at 10:03 -0400, Martin-Gilles Lavoie wrote: Greetings First, I'd like to apologize upfront for the sheer autoconf noob-ness this post might impose on vets possibly on this list. But as luck would have it, I seem to be stuck with the job of dealing with an

Re: Building universal binaries makes 'check' fail

2007-03-05 Thread Peter O'Gorman
On Mar 6, 2007, at 9:50 AM, Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: What if the package does not use AC_CONFIG_HEADERS? This patch will fail. What about AC_CHECK_SIZEOF which will report incorrect results if -arch i386 -arch x86_64 are specified for example? Those

Re: Building universal binaries makes 'check' fail

2007-03-05 Thread Peter O'Gorman
On Mar 6, 2007, at 9:50 AM, Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: What if the package does not use AC_CONFIG_HEADERS? This patch will fail. What about AC_CHECK_SIZEOF which will report incorrect results if -arch i386 -arch x86_64 are specified for example? Those

Re: Building universal binaries makes 'check' fail

2007-02-28 Thread Peter O'Gorman
On Feb 28, 2007, at 12:47 PM, Elias Pipping wrote: Hello, autoconf fails for me with 177: AC_C_BIGENDIAN FAILED (semantics.at:478) I am not sure it is worth the effort to get autoconf clean for Apple's universal builds. The whole autoconf philosophy is about checking

Re: Building universal binaries makes 'check' fail

2007-02-28 Thread Peter O'Gorman
On Mar 1, 2007, at 8:34 AM, Elias Pipping wrote: On Mar 1, 2007, at 12:18 AM, Peter O'Gorman wrote: Apple suggests using their lipo tool to create universal binaries from multiple single architecture runs of configure and make. Where do they do that? I was following http

Re: Building universal binaries makes 'check' fail

2007-02-28 Thread Peter O'Gorman
On Mar 1, 2007, at 9:20 AM, Paul Eggert wrote: Elias Pipping [EMAIL PROTECTED] writes: autoconf fails for me with 177: AC_C_BIGENDIAN FAILED (semantics.at:478) Thanks for testing this. I have installed the following additional patch, which I hope fixes your problem. It also fixes

Re: Building universal binaries makes 'check' fail

2007-02-28 Thread Peter O'Gorman
On Feb 28, 2007, at 12:47 PM, Elias Pipping wrote: Hello, autoconf fails for me with 177: AC_C_BIGENDIAN FAILED (semantics.at:478) I am not sure it is worth the effort to get autoconf clean for Apple's universal builds. The whole autoconf philosophy is about checking

Re: Stack direction check fails with optimizations

2006-12-13 Thread Peter O'Gorman
On Dec 13, 2006, at 9:48 PM, Ralf Wildenhues wrote: Hi Peter, Hi Ralf, * Peter O'Gorman wrote on Tue, Dec 12, 2006 at 01:26:42PM CET: There is a test to check the stack direction when building the replacement alloca. This test returns bad results with optimizations: [...] exit

Stack direction check fails with optimizations

2006-12-12 Thread Peter O'Gorman
Hi, Really I discovered this issue when building mysql, but they swiped a test from autoconf to check the stack direction, so I'll ask here. There is a test to check the stack direction when building the replacement alloca. This test returns bad results with optimizations: Solaris 10/x86 % cat

Re: Mac OS X.4.8 build problem -- new macro for Autoconf

2006-12-11 Thread Peter O'Gorman
On Dec 11, 2006, at 3:21 AM, Bruce Korb wrote: Hi Ralf, This is far too putrid to expect people to spin off of the top of their heads. I think it is Darwin's fault that it is so hard, but autoconf should include this macro so that folks-other-than-gurus can successfully cope with wint_t.

Re: Autoconf fix Darwin/MacOS X Fortran

2006-08-28 Thread Peter O'Gorman
On Aug 28, 2006, at 1:03 AM, Ralf Wildenhues wrote: Hello Peter, * Peter O'Gorman wrote on Sat, Aug 26, 2006 at 04:16:19PM CEST: I don't believe that there is a case in libtool where darwin uses - nostdlib. If there is such a case that I missed please let me know and I will fix

Re: Autoconf fix Darwin/MacOS X Fortran

2006-08-26 Thread Peter O'Gorman
On Aug 25, 2006, at 3:54 PM, Ralf Wildenhues wrote: Hi Ralf, Well, on some systems (also Darwin in some cases), Libtool uses -nostdlib in shared library creation. Wouldn't omitting gcc_s in this case cause missing symbols, at least if the output file is a module (say, it uses Fortran) and

Re: AC_FC_DUMMY_MAIN broken with gcc4/gfortran

2006-08-24 Thread Peter O'Gorman
On Aug 24, 2006, at 9:34 PM, Bill Northcott wrote: Following my last post I have done some digging on AC_FC_DUMMY_MAIN. Using gcc4 and gfortran FLIBS include '-lgfortranbegin - lgfortran'. libgfortranbegin defines _main and needs _MAIN__ Since the test program also defines _main it will

Re: Autoconf fix Darwin/MacOS X Fortran

2006-08-24 Thread Peter O'Gorman
On Aug 24, 2006, at 5:06 PM, Ralf Wildenhues wrote: Hello Bill, * Bill Northcott wrote on Thu, Aug 24, 2006 at 09:59:40AM CEST: In lib/autoconf/fortran.m4 (v2.60 and cvs) there is a macro _AC_FC_LIBRARY_LDFLAGS which defines FLIBS for linking Fortran code. Darwin/MacOS X also include

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Peter O'Gorman
On Mon, 2006-07-17 at 14:41 -0700, Paul Eggert wrote: Patrick Welche [EMAIL PROTECTED] writes: so the -R made it, and all is well :-) I can't check the opposite though: do systems that don't want rpath get one now? Yes, they probably do. Perhaps the libtool guys can chime in on

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Peter O'Gorman
On Thu, 2006-07-20 at 08:55 -0700, Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: This patch will now add -R to X_LIBS for all systems. It's not supposed to. It's supposed to try -R, and add it only if it worked. I tried just now on Mac OS X to see the result: powerpc

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Peter O'Gorman
On Thu, 2006-07-20 at 15:39 -0700, Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: see http://pogma.com/misc/autoscrewup.txt for the transcript. Thanks for checking this. Please bear with me, as I can't easily test this directly. How about the following further patch, which

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Peter O'Gorman
On Mon, 2006-07-17 at 14:41 -0700, Paul Eggert wrote: Patrick Welche [EMAIL PROTECTED] writes: so the -R made it, and all is well :-) I can't check the opposite though: do systems that don't want rpath get one now? Yes, they probably do. Perhaps the libtool guys can chime in on

Re: why does autoconf check for all these extra compilers?

2006-07-20 Thread Peter O'Gorman
On Thu, 2006-07-20 at 08:44 -0600, Ed Hartnett wrote: Howdy all! I use autoconf to build my library. When attempting to do a mingw cross-compile, the configure script checks for a whole bunch of extra compilers. What's up with that? If I do this: bash-3.1$ ./configure

Re: AC_PATH_XTRA and -rpath

2006-07-20 Thread Peter O'Gorman
On Thu, 2006-07-20 at 08:55 -0700, Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: This patch will now add -R to X_LIBS for all systems. It's not supposed to. It's supposed to try -R, and add it only if it worked. I tried just now on Mac OS X to see the result: powerpc

Re: Building all static

2004-11-03 Thread Peter O'Gorman
is not set. I am saying that even without this flag libtool can and should look for static libraries in favor of shared ones if -static is on the command line. Peter -- Peter O'Gorman - http://www.pogma.com ___ Autoconf mailing list [EMAIL PROTECTED] http

Re: Building all static

2004-11-03 Thread Peter O'Gorman
, feel free :-). Peter -- Peter O'Gorman - http://www.pogma.com ___ Autoconf mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/autoconf

Re: libtool--release--2.0 test results

2004-10-05 Thread Peter O'Gorman
to the libtool branch-1-5 configure.ac, sorry. Won't take but a minute. But yes, it is very annoying that g++ is returned when no valid c++ compiler is found. Is there any valid reason for this? Peter -- Peter O'Gorman - http://www.pogma.com ___ Autoconf