Hi,
After many trials and failures, here is my final script (see atachement
please).
I intend to use it like this:
1. In configure.in put something like:
AC_WITH_DIR(xxx, "$prefix/xxx",
AC_HELP_STRING([ --with-xxx=something],
[place binaries in xxx (default to $prefix/xxx)]))
2. In Ma
Before things get messy:
for a newbie it might be best to think of every shell command line
to expand into setting finally the integer-variable $? representing
the final value of the command. Therefore, a line like that written
below will expand to
$? = ( xxx == TRUE && yyy == TRUE )
and in a s
Ionutz Borcoman <[EMAIL PROTECTED]> writes:
|> Evrika :-)
|>
|> Yes, you're right. But I've been for too long a C programmer (and never a
|> shell one). I've thought '&&' was for test command. Something like in:
|>if ( xxx == TRUE && yyy == TRUE ) {};
|>
|> So the C++ equivalent of this bas
Evrika :-)
Yes, you're right. But I've been for too long a C programmer (and never
a shell one). I've thought '&&' was for test command. Something like in:
if ( xxx == TRUE && yyy == TRUE ) {};
So the C++ equivalent of this bash line:
test xxx="xxx" && xxx="zzz"
is
if( xxx == "xxx" ) {
Ionutz Borcoman <[EMAIL PROTECTED]> writes:
|> I don't argue with this, but what can do a test statement outside an if
|> (or other conditional) ? Until now, I thought test is used for it's
|> returned value, but here I don't see anybody using that value...
??? Of course, it is used, in a condit
I don't argue with this, but what can do a test statement outside an if
(or other conditional) ? Until now, I thought test is used for it's
returned value, but here I don't see anybody using that value...
TIA,
Ionutz
Andreas Schwab wrote:
>
> This is standard Bourne shell syntax. There is n
Ionutz Borcoman <[EMAIL PROTECTED]> writes:
|> Hi,
|>
|> I'm new to autotools an need something like missing facility --*dir.
|>
|> I've started playing with ac_define_dir.m4 from the autoconf archive:
|> http://www.gnu.org/software/ac-archive/Miscellaneous/ac_define_dir.html
|>
|> My modified
Hi,
I'm new to autotools an need something like missing facility --*dir.
I've started playing with ac_define_dir.m4 from the autoconf archive:
http://www.gnu.org/software/ac-archive/Miscellaneous/ac_define_dir.html
My modified version looks to produce what I want, but I fail to
understand how