I want "#define FOO" not "#define FOO 1"

2000-05-27 Thread Dave
I can put fragment 1 in configure.in to get "#define COLOR_SUPPORT 1" or "#define COLOR_SUPPORT 0" into config.h. However, I'd much rather have "#define COLOR_SUPPORT" or no #define to decide if color will be supported. To me, fragment 2 looks like it would do the trick, however COLOR_SUP

caching variables

2009-08-12 Thread dave
lags... -fwritable-strings -Wshadow -Wtraditional -Wall How do I clear out old cache variables or make sure it doesn't take the old values? Thank you, Dave ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Cached variables from nested configures

2009-08-12 Thread dave
lt compiler flags configure:3541: result: -fwritable-strings -Wshadow -Wtraditional -Wall How do I make sure it is cleared from the nested configure structure? Thank you, Dave ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: Cached variables from nested configures

2009-08-18 Thread dave
Hello; Ralf I posted the tarball to a server if that would help you. http://aiss.suffield.drdc-rddc.gc.ca/uploads/snavigator.tar.bz2 If you can find out how it manages to keep the CFLAGS = -fwritablestrings flag I would appreciate it. Cheers! Dave

Autoconf and doxygen outside source directory

2013-11-07 Thread dave
doxygen and then make the html outputs. How do I tell doxygen where the source folder is and then get it to work on those files and then output to the new source folder? Thanks, Dave ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman

AC_CONFIG_FILES not configing file?

2013-11-15 Thread dave
Inside configure.ac I have the command AC_CONFIG_FILES(doxygen.cfg) inside source dir I have doxygen.cfg.in but inside the build directory (outside of source) when I run configure is says it configuring doxygen.cfg [dave@localhost build]$ ../cexp/configure $CEXP_FLAGS --enable-html

passing flags to make check targets

2013-11-29 Thread dave
Hello; My TESTS= targets can accept flags and data and I would like to pass things like files "-f test.dat" to them, How do I do that? Thanks, Dave ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

[Suspected Spam]AC_CHECK_TARGET_TOOL behavior

2008-08-14 Thread dave
f ac_cv_prog_ac_ct_SIZE=size ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 ## - ## ## Output variables. ## ## - ## ACLOCAL=&#

Subscribe

2022-07-10 Thread dave
How can I subscribe to this mailing list, please?

How to set up autoconf on Ubuntu 20.04

2022-07-10 Thread dave
Hello, Is anyone able to point me at documentation or a how-to about how to set up autoconf on Ubuntu 20.04, please? Sorry for this probably-oft-repeated question, but I've googled around and did not find any... With all best wishes, Dave

Re: How to set up autoconf on Ubuntu 20.04

2022-07-11 Thread dave
://www.howto-outlook.com/howto/autodiscoverconfiguration.htm#xmlredirect Again, thank you for your kind reply. :) With all best wishes, Dave On 2022-07-11 18:25, Paul Eggert wrote: On 7/10/22 23:13, d...@collaboration.cafe wrote: Is anyone able to point me at documentation or a how-to about how to set up au

H0rny Hot Teenage Webcarns! (AduIts Only)

2004-04-21 Thread dave
i want free movies . Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html

fix for AC_FUNC_MKTIME

2000-04-19 Thread Dave Love
If AC_FUNC_MKTIME is the only test that might use LIBOBJS, you lose with a working mktime because LIBOBJS doesn't get substituted. 2000-04-19 Dave Love <[EMAIL PROTECTED]> * acspecific.m4 (AC_FUNC_MKTIME): Use AC_SUBST. Index: ac

F77 tweak

2000-05-31 Thread Dave Love
`fc' is the f77-like script from the f2c distribution. 2000-05-31 Dave Love <[EMAIL PROTECTED]> * aclang.m4 (AC_PROG_F77): Check for f95 and fc too. Index: aclang.m4 === RCS file: /cvs/autoconf/aclang.m4,v

Re: F77 tweak

2000-06-03 Thread Dave Love
> "SGJ" == Steven G Johnson <[EMAIL PROTECTED]> writes: SGJ> Is "fc" an F95 compiler? F90? F77? The script I'm thinking of, like `fort77', is a frontend to f2c (in the f2c distribution) so it's f77. (I originally changed `f2c' to `fc' but forgot to send in the change and it's since bee

literals only in AC_DEFINE_UNQUOTED?

2000-08-28 Thread Dave Morrison
e performed on the argument to AC_DEFINE_UNQUOTED, so I think the arla folks are properly relying on advertised behavior. This is the expected behavior, right? Now, I can see that having computed arguments for AC_DEFINE_UNQUOTED will jam a big, fat wrench into the new way that autoheader wo

versioning config.cache

2009-05-01 Thread Dave Hart
if an incompatible cache is detected. It seems to be working as intended for me in NTP's main configure.ac as well as two child configure.ac files. I would like to hear your opinions, and I welcome pointers to refine anything that jumps out at your eye. Cheers, Dave Hart [1] http://bugs.ntp.org

Re: versioning config.cache

2009-05-01 Thread Dave Hart
Eric Blake wrote: > According to Dave Hart on 5/1/2009 5:37 AM: >> I wanted a >> version number to bump that would cause configure to ignore >> config.cache results from prior versions. > > Interesting concept.  However, I'm worried about one thing - it is also &g

Re: versioning config.cache

2009-05-02 Thread Dave Hart
Here's my latest revision of ntp_cacheversion.m4 with a bunch of shell programming tweaks thanks to Eric, plus a change to not clear the cache right after an empty cache file is created on the first run. Thanks for the tips and comments. Cheers, Dave Hart # NTP_CACHEVERSION(component, ve

GNU Make -v output no longer includes "version"

2009-12-05 Thread Dave Hart
SE. This program built for i386-portbld-freebsd6.4 h...@psp-fb2> So I'd suggest removing it from the sed expression above. Cheers, Dave Hart ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: GNU Make -v output no longer includes "version"

2009-12-06 Thread Dave Hart
VPATH elsewhere, but we do. Thanks for the quick response, Dave Hart ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: Correct way to check for clock_gettime()

2010-07-30 Thread Dave Hart
to offer, but I think you simply need to ensure the two packages are not sharing a cache, which means ensuring they are not nested under a common configure script, and invoking them with different --cache-file options. Cheers, Dave Hart ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: Arithmetic Shift

2010-12-10 Thread Dave Goodell
bility of other cases, there are only two sensible values that (-1 >> 1) can evaluate to. The first is the result of an arithmetic shift, which means that it would be -1. The second would be the result of a logical shift, or (2**(CHAR_BITS*sizeof(int)-1)-1), probably 2147483647 for most pla

AM_COND_IF with m4_foreach+m4_include

2011-02-10 Thread Dave Goodell
of subconfigure.m4 do end up in the output stream... I believe I have several possible workarounds, so I'm not too worried about the fact that I can't get this to work. However it sure is baffling, and conditional AC_CONFIG_FILES support would be nice. Any insight that a more m4/autotoo

Re: AM_COND_IF with m4_foreach+m4_include

2011-02-10 Thread Dave Goodell
On Feb 10, 2011, at 3:27 PM CST, Ralf Wildenhues wrote: > * Dave Goodell wrote on Thu, Feb 10, 2011 at 10:02:12PM CET: > >> autoreconf: running: /Users/goodell/prefix/bin/autoconf --force >> configure.in:8: error: possibly undefined macro: AM_COND_IF >> If t

Document conftest.err for AC_LINK_IFELSE, possibly AC_RUN_IFELSE

2011-03-21 Thread Dave Hart
WPZrA http://preview.tinyurl.com/1844-core-patch I apologize if this would have been better suited to autoconf-patches. Given I have not prepared a patch, I wasn't sure which list was more appropriate. Cheers, Dave Hart ___ Autoconf mailing lis

arm gcc 4.1.3 -O2 dead code removal breaks configure test

2011-03-29 Thread Dave Hart
-O2, as evidenced by NTP and BIND 9 relying on similar tests for years. Is our fix the best you can imagine? Is this particular gcc version an outlier, or have we just been lucky or had less coverage than I thought? Thanks for your time, Dave Hart [1] AC_CACHE_CHECK( [for in6addr_a

Re: arm gcc 4.1.3 -O2 dead code removal breaks configure test

2011-03-29 Thread Dave Hart
On Tue, Mar 29, 2011 at 17:18 UTC, Ralf Wildenhues wrote: > * Dave Hart wrote on Tue, Mar 29, 2011 at 11:58:53AM CEST: > > We have a solution, changing the test to assign the address of > > in6addr_any to a global variable preserves the reference: > > > struct

Re: arm gcc 4.1.3 -O2 dead code removal breaks configure test

2011-03-29 Thread Dave Hart
assignments, I decided it was safer to assume the compiler wouldn't optimize away a printf parameter. Take care, Dave Hart ___ Autoconf mailing list Autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf

Re: Dealing with compilers that pretend to be GCC

2012-01-20 Thread Dave Korn
On 20/01/2012 11:19, Peter Rosin wrote: > Dave Korn skrev 2012-01-20 01:15: > > *snip* > >>That could be tricky because I guess you won't be able to use >> libtool at configure time. > > *snip* > > It's possible to use libtool at conf

Re: Selecting a C++ standard

2013-01-10 Thread Dave Goodell
with AC_PROG_CC_C99, but we could. It's very important that autoconf does not do anything to the compilation environment that makes (A) more difficult. Otherwise the only way to test our code for reasonably-strict C89/C99 compliance is to keep old machines running old/broken software aroun

Re: configure mutilates -g option

2013-01-14 Thread Dave Goodell
ime to look at it, but I would prefer to keep my projects from being bitten in the same way, so I might be able to find some time. -Dave ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

Re: test project example -help with builddir configuration

2013-11-18 Thread Dave Erickson
is the location of the files under inspection but I haven't written a script in 5 years...so forgive my ignorance. Thoughts? Thanks, Dave On 13-11-17 05:24 PM, Peter Johansson wrote: Hi Dave, On 11/16/2 013 02:35 PM, dave wrote: But when i switch to a fresh build directory and the

Python module macro check

2005-06-26 Thread Dave Fancella
e macro, it just fires up Python and tries to import the module you pass. If you guys take it, I'd appreciate a response just so I'll know when the next version comes out to start using it from there instead of using my own acinclude file. Otherwise, hope this helps somebody.

Re: Python module macro check

2005-06-27 Thread Dave Fancella
ls will let you check for that stuff. Hmmm, there is a way, but it's a hack on top of distutils (or at least, I think it is, possible others disagree with me *and* are right). Dave > Regards, > Ralf > > [1] http://autoconf-archive.cryp.to/ > http://ac-archive.sourceforge

Re: Python module macro check

2005-06-27 Thread Dave Fancella
e for use by python programs. > > Did you try > http://ac-archive.sourceforge.net/Installed_Packages/ac_python_module.html > ? Heh. That does exactly what the one I wrote does. :/ Thanks, I'll check it out. Dave > Regards, > Ralf

AC_CHECK_LIB: retest after failure

2007-08-20 Thread Dave Milter
Hi! Using autoconf I try to implement such scenario: check if compilation with libraryr foo and function bar succeeded, if no define variable DUMMY and retest again, so I try to do things in this way: AC_CHECK_LIB(mytest, bar, fooLIBS=-lfoo, $CONFLIB_ARG)#(1) if test -z "$fooLIBS"; then#(2) AC

AC_CHECK_TARGET_TOOL behavior

2008-08-13 Thread dave erickson
t_RANLIB=ranlib ac_cv_prog_ac_ct_READELF=readelf ac_cv_prog_ac_ct_SIZE=size ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 ## - ## ## Output variables. ## #

AC_CHECK_TARGET_TOOL behavior

2008-08-13 Thread dave erickson
f ac_cv_prog_ac_ct_SIZE=size ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 ## - ## ## Output variables. ## ## - ## ACLOCAL='${SHELL} /ho

Embed newlines in AC_MSG_* output

2024-01-27 Thread Dave Hart
~72 chars. -- Cheers, Dave Hart

How to pass AC_ARG_ENABLE an argument

2003-12-20 Thread Dave Kirkby
Hi, I want to allow a configure script to be told the number of CPUs to build some software for. The manual says 'AC_ARG_ENABLE' can read an agument, but I can't for the life of me see how to get it. I basically want to have something AC_DEFINE CPUS to be an integer read whilst configuring

Re: How to pass AC_ARG_ENABLE an argument

2003-12-21 Thread Dave Kirkby
On Sun, 2003-12-21 at 03:55, Kevin P. Fleming wrote: > Dave Kirkby wrote: > > > Hi, > > I want to allow a configure script to be told the number of CPUs > > to build some software for. The manual says 'AC_ARG_ENABLE' can read an > > agument, but I can&#