On Mon, Feb 28, 2000 at 06:42:51PM +0100, Akim Demaille wrote:
: | | changequote(, )dnl
: | | *-*-osf[45]*)
: | | changequote([, ])dnl
: |
: | Akim Kill the changequotes and use
: | Akim*-*-osf[[45]]*)
: |
: | I usually recommend *against* this, on the grounds that it is too
: |
On Mon, Feb 28, 2000 at 09:44:56PM +0100, Lars J. Aas wrote:
: I agree with the example above, but I don't know how to get rid of my
: changequotes unless there are any alternate methods to make strings with
: m4-invocations inside a couple of []s? What I'm thinking of specifically
: in my case
I also found another use for the m4_noquote macro:
define([TAB],
[ ])
define([LF],
[
])
patsubst([$1],m4_noquote([[LF TAB]+]),[ ])
is a lot more readable than
patsubst([$1],m4_noquote([[
]+]),[ ])
Cheers,
Lars J
On Wed, Mar 01, 2000 at 04:02:40PM +0100, Lars J. Aas wrote:
: patsubst([$1],m4_noquote([[LF TAB]+]),[ ])
:
: is a lot more readable than
:
: patsubst([$1],m4_noquote([[
: ]+]),[ ])
...by which I of course ment...
patsubst([$1],[[
]+]),[ ])
Come to think of it, I might
On Wed, Mar 01, 2000 at 07:41:58PM +0100, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
: Lars Even
:
: Lars define([m4_noquote],
: Lars [changequote(-=[{(,)}]=-)$1-=[{()}]=-changequote([,])])
:
: Lars would do the trick ;)
:
: I would say it wouldn't, sinc
On Wed, Mar 01, 2000 at 07:52:31PM +0100, Lars J. Aas wrote:
: : Lars define([m4_noquote],
: : Lars [changequote(-=[{(,)}]=-)$1-=[{()}]=-changequote([,])])
: :
: : I would say it wouldn't, since you have embedded [] in there, which
: : are the current quotes, there will be just one big arg
On Wed, Mar 08, 2000 at 11:09:07AM +0100, Akim Demaille wrote:
: | eval set $list
: | for elt in "$@"; do
: | echo $elt
: | done
: |
: | So there. Now you won't get any more suggestions from me :)
:
: I agree, this is perfect.
Actually, I was informed by John W. Eaton through private email
On Wed, Mar 08, 2000 at 11:31:27AM +0100, Akim Demaille wrote:
: Lars I think the dummy-approach is safest. I didn't look into which
: Lars context this was to be used in, but I'd probably name it
: Lars _ac_dummy or something like that...
:
: `dummy' is just a string here, there is no
I want to use diverts in some macros, and wonder if there is any
divert management system for reserving/freeing divert numbers in
autoconf (couldn't find any with a quick grep at least). The point
is, if other macros are using diverts too, I don't want my diverts
to clash with those diverts and
On Fri, Mar 03, 2000 at 04:26:45PM +0100, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
:
: Lars In my book, this would be
:
: Lars m4_diversion_reserve([AC_DIVERSION_KILL], -1) ...
:
: Currently diversion are so little used that it'd be an overkill.
:
:
On Fri, Mar 03, 2000 at 05:21:35PM +0100, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
: Lars I'm just thinking of Autoconf - that's where my own macros have
: Lars to cooperate with macros I don't know anything about. Overkill
: Lars or not, such a resource
ITERATION argument
dnl starts with the value 1 and counts upwards on each SIM_AC_ITERATOR
dnl invocation. The variable named in the ITERATIONS argument contains
dnl the total number SIM_AC_ITERATOR invocations (with those arguments)
dnl in the configure script.
dnl
dnl Credits:
dnl Lars J.
On Mon, Mar 06, 2000 at 02:46:27PM +0100, Akim Demaille wrote:
: | AC_DEFUN([SIM_AC_ITERATOR],
: | [AC_DIVERT_PUSH([AC_DIVERSION_INIT])dnl
:
: You should avoid playing with Autoconf's diversions. They are
: internals only, and there is no guarantee they won't change.
That's why I feared it
On Mon, Mar 06, 2000 at 03:24:55PM +0100, Lars J. Aas wrote:
: If the $1 test fails, the update procedure in $2 is displayed, with
: some explanation text about what the problem is and that you can use
: --with-auto-update if you feel brave. If there are several of these
: updates that fail, I
I'd like to add a few commands to config.status to be executed before
configu.status creates any files (to run mkdir to facilitate some multi-
level SUBDIRS directories). There's a diversion that would let me do
this, but since diversions are hidden from users, are there any other
ways to do it?
On Fri, Mar 10, 2000 at 01:23:09PM +0100, Akim Demaille wrote:
: This might be useful for some: better support of Autoconf in C-x 4 a:
Do you have something for us vi-enthusiasts too? ;)
Lars J
On Thu, Mar 23, 2000 at 05:46:23PM +0100, Akim Demaille wrote:
:
: | Here is a recent copyright assignment that was just entered into
: | copyright.list.
: |
: | Who is the autoconf maintainer(s) anyways? Should it just be listed
: | as "[EMAIL PROTECTED]"? The line in our maintainers file is
BTW, is anyone cataloguing these kinds of bourne shell bugs/anomalies
somewhere? Seems like something like that would be a *very* useful resource
for portable shell script programmers...
Lars J
Bash triggers on this:
case "/foo" in
[/\]* ) echo 1;;
esac
How are zsh and friends dealing with that?
Lars J
On Tue, Mar 28, 2000 at 02:57:06PM +0200, Lars J. Aas wrote:
: Bash triggers on this:
:
: case "/foo" in
: [/\]* ) echo 1;;
: esac
It doesn't trigger on \foo though, so it's must be just a side-effect of
the bug in some way.
Lars J
I never got any response on this one, so I'm trying [EMAIL PROTECTED] too
this time. Does anyone know if setting up a trap on make like described
below will fail on some platform?
Lars J
On Fri, Mar 17, 2000 at 01:30:49PM +0100, Lars J. Aas wrote:
: I just set up the following line
On Fri, Mar 31, 2000 at 05:44:26PM +0200, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
: Lars This will produce out.tmp in $(builddir), but expect out.tmp to
: Lars be in $(srcdir) for the second pass, wouldn't it? Any hints on
: Lars what the best
On Fri, Mar 31, 2000 at 01:33:12PM -0300, Alexandre Oliva wrote:
: On Mar 31, 2000, "Lars J. Aas" [EMAIL PROTECTED] wrote:
: How do I override the rule for entering one of them?
:
: I don't think you can override it :-(
Looks like I have to push for such a feature to be integrated/i
On Fri, Mar 31, 2000 at 01:19:54PM -0300, Alexandre Oliva wrote:
: On Mar 31, 2000, "Lars J. Aas" [EMAIL PROTECTED] wrote:
:
: : The trap is fine, but the `:=' syntax is far from portable.
:
: Without it, wouldn't the variable become recursive?
:
: Yep. That's why you can't
On Mon, Apr 03, 2000 at 06:57:33AM -0700, Earnie Boyd wrote:
: --- Bruce Korb [EMAIL PROTECTED] wrote:
: I made an archive file named "configure" that contains
: a shar archive of the generated files. It runs, recreating
: the generated files, deletes itself and then runs autoconf.
:
On Mon, Apr 03, 2000 at 07:46:08AM -0700, Earnie Boyd wrote:
: --- "Lars J. Aas" [EMAIL PROTECTED] wrote:
: How about mv'ing itself out of the way (to configure.bak or something
: similar)?
:
: Can't do that either. A mv is a cp rm.
I thought it was a link() and an unlink(),
On Mon, Apr 03, 2000 at 08:17:02AM -0700, Bruce Korb wrote:
: Earnie Boyd wrote:
: How about mv'ing itself out of the way (to configure.bak or something
: similar)?
:
:
: Can't do that either. A mv is a cp rm.
:
: 1. It is only for developers
: 2 How about putting at the end:
:
:
From [[EMAIL PROTECTED]]:
On Mon, May 08, 2000 at 10:07:12AM +0200, Daniel Stenberg wrote:
: Hi
:
: It turns out that there are systems (NCR MP-RAS (svr4)) that require TWO libs
: for gethostbyname() and connect() should compile/build properly. The current
: configure rule only checks for one
On Tue, May 09, 2000 at 12:42:40PM +0200, Akim Demaille wrote:
: "Akim" == Akim Demaille [EMAIL PROTECTED] writes:
:
: Akim How can you imagine leaving with it?
:
: Gromph, sorrys/it/heat/ :)
"leaving wheath it"? Now I'm lost ;)
Lars J
Hi,
We had some problems with getting our Coin project compiled on Cygwin,
which we traced back to some "^M"-characters that weren't removed from
directory- and file-names when the dependeny tracking files were about
to be created at the end of the config.status run.
The following patch made
On Wed, Jun 07, 2000 at 07:04:55AM -0700, Earnie Boyd wrote:
: --- "Thomas E. Dickey" [EMAIL PROTECTED] wrote:
: On Wed, 7 Jun 2000, Lars J. Aas wrote:
: The following patch made the configure script work, but one should
: probably find out how the ^M characters were introduc
After having written a lot of scripts, I've gone tired of testing if
boolean variables contain one string or another (e.g. "yes" vs "no"),
so I've started setting them to "true"/"false" and started using them
like this:
sim_ac_foo_exists=false;
if test foo exists; then
sim_ac_foo_exists=true
I'm setting up my own sed-parse rule in a Makefile.in file, that
should do sustitutions the way config.status does, based on some
AC_SUBST keywords. Obviously, I need to be able to quote the
search string, so the @ac_subst@ keyword is "intact" in the target
Makefile. How do I do that?
e.g.
On Tue, Jun 27, 2000 at 08:05:32AM -0700, Tom Tromey wrote:
: Lars sed 's/@keyword@/@keyword@/g' input output
: Lars ^ must be quoted
:
: Write sed 's/\@keyword\@/...'
I found that out after much tinkering - should have been the first thing
I tried :( Actually, only the
on using IFS like I've done, and maybe you want to
reverse a couple of tests to avoid using "test ! ...". (that's one of the
changes I noticed between 2000-01-13 and cvs HEAD.
Also, it's sad that this functionality obfuscates the script somewhat...
Lars J
ChangeLog entry:
2000-06-
The fixed (quoted) patch.
ChangeLog entry:
2000-06-27 Lars J. Aas [EMAIL PROTECTED]
* acgeneral.m4: create subdirs, including parent directories that
don't exist already.
Index: acgeneral.m4
===
RCS file: /cvs
Since I don't actually use CVS autoconf anywhere (because of it's
incompatibilities with automake) and don't have it installed, please
test this patch before applying it.
Lars J
2000-06-28 Lars J. Aas [EMAIL PROTECTED]
* acgeneral.m4 (AC_SHELL_MKDIR_P): New macro
On Wed, Jun 28, 2000 at 06:48:24PM +0200, Akim Demaille wrote:
: | Since I don't actually use CVS autoconf anywhere (because of it's
: | incompatibilities with automake)
:
: What do you mean?
We use a patched automake-1.4a (2000-05-31), and we use it with a
patched autoconf-2.14.1
he comment of AC_SHELL_DIRNAME that this
: macro must be usable in ` `.
Updated:
ChangeLog entry:
2000-07-05 Lars J. Aas [EMAIL PROTECTED]
* acgeneral.m4 (AC_SHELL_DIRNAME): New macro.
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS):
Use AC_SHELL_DIRNAME.
Index: ac
On Wed, Jul 05, 2000 at 05:12:19PM +0200, Ralf Corsepius wrote:
: "Lars J. Aas" wrote:
:
: +# AC_SHELL_DIRNAME(PATHNAME)
: +# --
: +# Remove last slash and trailing text.
: +# Not all systems have dirname, so we emulate it with sed.
: +# This macro must
On Thu, Jul 06, 2000 at 02:33:39PM +0200, Lars J. Aas wrote:
: I'm trying to upgrade to CVS autoconf, and I'm wondering if I need
: to upgrade automake, libtool, and m4 at the same time?
I've upgraded autoconf and automake and m4 to release 1.4o (only
vanilla tool is libtool 1.3.5), and things
file.in | CONFIG_HEADERS= CONFIG_FILES=- config.status | \
CONFIG_HEADERS=- CONFIG_FILES= config.status file
or like this
CONFIG_HEADERS= CONFIG_FILES=-:file.in config.status | \
CONFIG_HEADERS=file:- CONFIG_FILES= config.status
ChangeLog entry:
2000-07-06 Lars J. Aas [EMAIL
On Thu, Jul 06, 2000 at 06:23:07PM +0200, Akim Demaille wrote:
: | This may look like a medium-sized patch (requiring forms to be signed),
: | but it's mostly indentation changes.
:
: Alexandre can judge, I can't.
Well, what's not indentation fixes is mostly ifelse alternations without
any
On Thu, Jul 06, 2000 at 02:47:43PM -0300, Alexandre Oliva wrote:
: I think we can go ahead with this patch, but it would be nice to have
: a copyright assignment from you on file.
OK, I'll buy a stamp and print the form... Ah, what I wouldn't give to
live in the digital signature utopia!
:
On Thu, Jul 06, 2000 at 08:08:47PM +0200, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
:
: Lars Sure. First we take Manhattan - *then* we take Berlin...
:
: Will you rework your Manhattan?
Won't I have to?
Lars J
On Thu, Jul 06, 2000 at 07:16:05PM +0200, Akim Demaille wrote:
: Look at what Zsh guys are doing:
:
: configure:
:
: | dnl The standard config.status is missing some essential features.
: | dnl So add them now. See the comment at the end of Src/mkmakemod.sh.
: | [rm -f $CONFIG_STATUS.old
: |
On Fri, Jul 07, 2000 at 10:35:53AM +0200, Akim Demaille wrote:
:
: | 2000-07-07 Lars J. Aas [EMAIL PROTECTED]
: |
: | * acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS):
: | Accept special filename '-' for stdin and stdout.
:
: I like it very much, and much approve
The most logical thing would probably just be to do this:
ac_file_inputs=`IFS=:
for f in $ac_file_in; do
case $f in
-) echo $tmp/stdin ;; # stdin
+ /*) echo $f ;; # absolute paths
+
There is definitely something wrong at the moment. In
_AC_OUTPUT_FILES, amongst other things, $ac_dots is always
"../" (at least for separate builddir configure runs with
relative path to configure), which screws up everything.
Here is some debug output from a configure run...
Haven't detected
AC_SHELL_MKDIR_P() sets $ac_dir, so the variable is invalid after the
mkdir makro is invoked...
lines 4542 +/-:
if test "$ac_dir" != "$ac_file" test "$ac_dir" != .; then
!AC_SHELL_MKDIR_P("$ac_dir")
!ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory
Hi,
Here's the Autoconf patch for config.status builddir awareness,
and some minor textfile updates. The acgeneral.m4 part depends on
my previous patch having been applied and massaged so there are
no quotes around $f in the case/esac.
Lars J
ChangeLog Entry
2000-07-10 Lars J. Aas
On Mon, Jul 10, 2000 at 05:58:18AM -0300, Alexandre Oliva wrote:
: On Jul 8, 2000, "Lars J. Aas" [EMAIL PROTECTED] wrote:
: + Source files can now also be specified with absolute (/)
: + and builddir-relative (./) paths.
:
: I don't like `./'; it may well be the result of some
On Mon, Jul 10, 2000 at 08:19:30AM -0300, Alexandre Oliva wrote:
: On Jul 10, 2000, "Lars J. Aas" [EMAIL PROTECTED] wrote:
: How about tagging it with "^/" instead?
:
: How about `pwd`? :-)
OK, feel free to remove the ./ pattern patching then. I assume I won't have
t
On Mon, Jul 10, 2000 at 05:02:51PM +0200, Akim Demaille wrote:
: "Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes:
: Alexandre How about `pwd`? :-)
:
: I don't understand the pwd stuff, but here is my proposal.
What I figured Alexandre meant was that since support for absolute
paths is
Looks OK to me.
Lars J
On Mon, Jul 10, 2000 at 01:21:54PM -0300, Alexandre Oliva wrote:
: On Jul 10, 2000, Akim Demaille [EMAIL PROTECTED] wrote:
:elif test -f "$ac_given_srcdir/$f"; then
:
: This shouldn't be done when $f is a full pathname.
Are you crazy? Full pathnames aren't supported yet ;) - not
On Tue, Jul 11, 2000 at 01:31:24PM +0200, Akim Demaille wrote:
: I don't think we need to: test -f itself will do the right thing,
: whether the file is relative to build dir, or absolute wrt build dir
: (i.e., just absolute), no matter what absolute means for the system.
: We no longer have to
On Wed, Jul 12, 2000 at 02:54:28AM -0700, Mo DeJong wrote:
: I ran into a problem like the one you describe. It seems
: that the CVS version of autoconf does not work with
: VC++ at all.
This is *bad* news for me, but probably not for Autoconf development,
as I'll have to work on fixing this...
On Wed, Jul 12, 2000 at 12:29:36PM +0200, Johan Danielsson wrote:
: [a-z] gets expanded by the shell:
:
: --- autoconf.sh 2000/07/10 10:23:09 1.76
: +++ autoconf.sh 2000/07/12 10:31:31
: @@ -223,7 +223,7 @@
: # 2. $WARNINGS, $3 command line options, in that order.
: # Set them
On Thu, Jul 13, 2000 at 12:54:50AM +0200, Peter Eisentraut wrote:
: Lars J. Aas writes:
: : -for warning in `IFS=,; echo syntax,$WARNINGS,$warnings | tr [A-Z] [a-z]`
: : +for warning in `IFS=,; echo syntax,$WARNINGS,$warnings | tr '[A-Z]' '[a-z]'`
:
: Why use the braces at all
On Thu, Jul 13, 2000 at 06:14:24AM -0400, Thomas Dickey wrote:
: in turn, all of this was noted a year or so ago to point out it won't
: work on systems using EBCDIC - an explicit range is ugly but portable.
Which systems use EBCDIC? (just wondering)
Lars J
I know "shift" is portable, but is shift with argument portable?
Lars J
On Wed, Jul 19, 2000 at 12:24:08PM +0200, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
:
: Mo I ran into a problem like the one you describe. It seems : that
: Mo the CVS version of autoconf does not work with : VC++ at all.
:
: Lars This is *bad* n
On Wed, Jul 19, 2000 at 01:43:58PM +0200, Lars J. Aas wrote:
: On Wed, Jul 19, 2000 at 12:24:08PM +0200, Akim Demaille wrote:
: : Mo, Lars, could you give a look at the patch 25-* and see if it works?
: :
: : I don't recall well why we recently chose .cc for C++. ISTR it was
: : because before
On Wed, Jul 19, 2000 at 02:11:43PM +0200, Akim Demaille wrote:
: How about this?
:
: I don't have good answers yet to provide wrt .obj, maybe you should
: try to set it by hand in configure.in just to see if it works. We
: will address this second issue later (note that ./configure
:
On Wed, Jul 19, 2000 at 02:33:25PM +0200, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
: Lars It got further (when I added ac_objext=obj - without it, all the
: Lars extension tests failed of course), but stopped again on a
: Lars "conftest.cc"
ac_ext is set to "cc" right after the objext test is done.
Lars J
##
The inline for-loop macro:
AC_DEFUN([SIM_COMPILER_INLINE_FOR], [
AC_PREREQ([2.14])
AC_CACHE_CHECK(
[whether the C++ compiler handles inlined loops],
On Mon, Aug 07, 2000 at 03:31:18PM +0200, Akim Demaille wrote:
: :( 2.50 is never going to be born :( My $2.14a :)
I for one am against releasing anything called "Autoconf 2.50"
before Autoconf 2.14 through 2.49 has been released. Linux does
the same stupid thing, suddenly jumping to minor
On Mon, Aug 07, 2000 at 05:47:33PM +0200, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
:
: Lars On Mon, Aug 07, 2000 at 03:31:18PM +0200, Akim Demaille wrote:
: Lars : :( 2.50 is never going to be born :( My $2.14a :)
:
: Lars Let's call it 2.14 (or 2.15
On Mon, Aug 07, 2000 at 06:49:44PM +0200, Akim Demaille wrote:
: If you use Gnus and still don't know about C-d, it's time for a try.
I'm a vi/mutt/trn dude, so no gnus for me.
:Patch Panic
[...]
Didn't seem like the version numbering was such a controversial and
out-debated issue, though.
On Fri, Sep 01, 2000 at 09:38:28PM -0600, Richard Stallman wrote:
: So prefix=/usr leads to syconfidir=/etc, but prefix=/usr/gnu (not my
: idea) leads to sysconfdir=/usr/gnu/config? Ugh.
:
: This nonuniformity is precisely the intent. When prefix is a
: subdirectory of /usr, such as
Once upon a time, Akim Demaille wrote:
: Hi People,
:
: Does anybody sees a means to compute this at compile time? Using the
: same trick as we did for SIZEOF etc.
:
: The current test program is
:
: int
: main ()
: {
: /* Are we little or big endian? From HarbisonSteele. */
: union
:
On Wed, Sep 06, 2000 at 02:43:03PM +0200, Akim Demaille wrote:
: | I'd accept patches that do what you suggest too: have _AC_EXEEXT be
: | independent from AC_LINK_IFELSE, have AC_LINK|COMPILE_IFELSE require
: | what they need, [...]
: |
: | I looked at the code, but the macros that does the
On Wed, Sep 06, 2000 at 02:32:18PM +0200, Guido Draheim wrote:
: will update the page some day). The basic idea is to create a binary
: from special C-source and "grep" the binary for some pattern. The C-source
[...]
:
: AC_MSG_CHECKING(whether byte order LOOKS bigendian)
: [
: cat conftest.c
On Fri, Sep 08, 2000 at 09:05:57AM -0400, Pavel Roskin wrote:
: I'll try to remove changequote()s from libtool.m4 as long as it remains
: compatible with Autoconf-2.13
I don't see how this can be a problem - it's strictly an m4 parse issue,
and the m4 parsing is the same, no matter which
On Mon, Sep 11, 2000 at 06:18:59AM -0700, Earnie Boyd wrote:
: --- "Lars J. Aas" [EMAIL PROTECTED] wrote:
: I've started using AC_CONFIG_AUX_DIR(aux) and stow away files into aux/.
:
: PORTABILITY Issue: aux should not be used as a directory, filename or filename
: part (i.e. au
On Thu, Sep 21, 2000 at 08:17:18AM -0700, Ossama Othman wrote:
: On Thu, Sep 21, 2000 at 02:56:07PM +0200, Peter Eisentraut wrote:
: Akim Demaille writes:
:
:"Russ" == Russ Allbery [EMAIL PROTECTED] writes:
:
: Russ Could the really annoying "feature" of mangling the subjects of
:
On Thu, Sep 21, 2000 at 08:54:59AM -0700, Ossama Othman wrote:
: Out of curiosity, are you guys receiving duplicate e-mails from the
: list? I seem to be getting two copies of each e-mail sent from all of
: the GNU lists I'm subscribed to.
On the Guile user list, I've in the last couple of days
On Tue, Oct 03, 2000 at 01:04:12PM +0200, Morten Eriksen wrote:
: Akim Demaille [EMAIL PROTECTED] writes:
: | define([AC_LANG_SOURCE(C++)],
: | [#line __oline__ "configure"
: | #include "confdefs.h"
: | -#ifdef __cplusplus
: | -extern "C" void exit (int);
: | -#endif
: | $1])
:
: BTW,
On Tue, Oct 10, 2000 at 07:35:52PM +0200, Akim Demaille wrote:
: | BTW, is the "-ef" option to ``test'' portable? If not, that part could
: | be stripped out.
:
: See the documentation of Autoconf :)
:
: @item @command{test} (files)
: To enable @code{configure} scripts to
On Fri, Oct 20, 2000 at 08:41:49AM -0700, David Morgan wrote:
: test ${FOO+set} = set || FOO=$foo
:
: I just tried you proposed change and I get a syntax error from:
:
: test ${CONFIG_FILES+$config_files} = $config_files || CONFIG_FILES=$config_files
Use "set" verbatim like Akim wrote - don't
On Fri, Oct 20, 2000 at 06:58:36PM +0200, Lars J. Aas wrote:
: Anyways, what would be really cool is to find a LHS expansion that would
: either expand to "set" or to "unset" depending on whether the variable was
: set or not. I haven't been able to think of one, though.
I've tried to set up aclocal.m4 to just m4_include the necessary
macro files, but I don't want to write explicit paths to the files
in /usr/local/share/aclocal/, and I can't get autoconf to make m4
search in that directory automatically. Any hints?
Lars J
On Wed, Nov 01, 2000 at 09:47:07AM -0500, Pavel Roskin wrote:
: Hello, Lars!
:
: AC_DEFUN([AS_NOP], [:]) # or `(exit $?)'?
:
: I guess you didn't study x86 architecture well. NOP doesn't change the
: flag register :-)
That's why I proposed (exit $?) instead, if status-preservation
On Thu, Nov 02, 2000 at 02:07:43PM -0500, Pavel Roskin wrote:
: Hello, Lars!
: I think autoconf ought to warn the maintainer if $ac_unique_file
: (the AC_INIT argument) isn't found when run. Any reason it shouldn't?
:
: It warns when "configure" is run, but not when "autoconf" is run.
:
: $
On Thu, Nov 02, 2000 at 02:26:27PM -0500, Pavel Roskin wrote:
: : Are you suggesting that "autoconf" issues a warning as well?
:
: Yes, if there's no case where generating a configure-script under such a
: circumstance is useful...
:
: It has a low priority for me. I'll not object if
On Fri, Nov 03, 2000 at 02:33:12PM +0100, Akim Demaille wrote:
: Personally I'm not too much in favor of this patch. It's like a bit
: like wanting cpp to catch undeclared identifiers: it's just not its
: role. I understand it would have eased tracking down one problem you
: found, but the
On Fri, Nov 03, 2000 at 02:58:33PM +0100, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
: Lars BTW, why does srcdir default to .. when this happens? It seems
: Lars like an ugly hack implemented to help ill-configured software
: Lars packages to configure fro
On Fri, Nov 03, 2000 at 04:58:14PM +0100, Akim Demaille wrote:
: | LOL... Whose the guy who revamped AC_PROVIDE recently? He is
: | dangerous... :)
:
: s/Whose/Who's/, sorry :(
I thought you meant "hose"... ;)
Lars J
On Fri, Nov 03, 2000 at 06:39:02PM +0100, Bernard Dautrevaux wrote:
: So the obvious:
:
: what is Autoshell?
Autoconf macros for partable shell scripting.
: Note that my question was due to the fact that i *do* use AS_FLAGS for
Can't you use ASFLAGS? You don't see C_FLAGS and
On Sat, Nov 04, 2000 at 07:48:33PM -0600, John A. Crow wrote:
: All -
:
: I am using autoconf-2.13.
:
: It looks to me from my experiments that by default the srcdir
: output variable is set to its relative path name. That is, if I do
:
:./configure
:
: I will get @srcdir@ replaced with
On Mon, Nov 06, 2000 at 09:17:30AM -0500, Thomas E. Dickey wrote:
: On Mon, 6 Nov 2000, Bernard Dautrevaux wrote:
: srcdir="`cd $srcdir; pwd`"
:
: there are environments where this doesn't work properly (when $CDPATH is
: set).
Weird. Doesn't autoconf try to disable (unset) $CDPATH?
Anyways,
On Tue, Nov 07, 2000 at 05:54:42PM +0100, Akim Demaille wrote:
: | cd "$my_ac_builddir_save"
:
: Useless Quotes Award :)
Sure, but useless quotes are better than missing quotes.
I haven't studied the Bourne shell syntax that hard, and
given all the variations over how the so-called Bourne
shell
On Wed, Nov 08, 2000 at 11:18:04AM +0100, Akim Demaille wrote:
: Pavel Just take my advice. At least once a month take a random big
: Pavel package by search on www.freshmeat.net (Lesstif, openssh,
: Pavel gnome-libs, whatever) and try to run Autoconf. And then put
: Pavel yourself in the
On Thu, Nov 16, 2000 at 12:41:53PM +0100, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
:
: Lars I'm using AC_CHECK_SIZEOF on Cygwin and have found out that the
: Lars `conftest' file contains a \r\n after the size. The \r
: Lars character follows th
On Thu, Nov 16, 2000 at 12:56:54PM +0100, Lars J. Aas wrote:
: -[FILE *f = fopen ("conftestval", "w");
: +[FILE *f = fopen ("conftestval", "wb");
Yep, this was the fix...
Lars J
On Thu, Nov 16, 2000 at 01:00:02PM +0100, Akim Demaille wrote:
: "Lars" == Lars J Aas [EMAIL PROTECTED] writes:
:
: Lars : so how come we waited till today to discover this issue?
:
: Lars Running configure on the w32 platform hasn't really been common,
: Lars nor is it common
On Thu, Nov 16, 2000 at 01:00:02PM +0100, Akim Demaille wrote:
: Is this the only failure of the test suite?
You wish. The testsuite doesn't work on Cygwin, because everything
(with a couple of exceptions) fails...
Lars J
Even after setting /cygdrive to binary mode, the problem with
fopen(file, "w") persists (since I had fixed my own autoconf
repository to use "wb" I didn't notice it until I tried to configure
glib which has it's own set of macros like that.
I suspect that it is related to the fact that I'm using
When the w32 free Borland C++ command line compiler links a program
(conftest.exe), it also produces a file named `conftest.tds' in
addition to `conftest.obj'. In AC_OBJEXT, conftest.* is globbed to
`... conftest.obj conftest.tds', and the for loop ends up deciding
that $ac_objext should be
1 - 100 of 258 matches
Mail list logo