[PATCH] "Fix" to libtool.m4 to work with current CVS autoconf

2000-06-25 Thread Raja R Harinath
ROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash

Re: [PATCH] "Fix" to libtool.m4 to work with current CVS autoconf

2000-06-25 Thread Raja R Harinath
Raja R Harinath <[EMAIL PROTECTED]> writes: > All appears well and nice at step 3: the dependency are satisfied. > However, what actually happens is: > > * AC_CONFIG_AUX_DIRS is expanded/provided in the NORMAL diversion > * AC_CANONICAL_HOST is expanded in

`' quotes in messages (was Re: Success (mostly) with the testsuite)

2000-10-26 Thread Raja R Harinath
sages instead? On a tangent, do we still want to use `...' quotes? The latest XFree86 fonts do not show these as symmetric open and close quotes. The "`" is more slanted, and the "'" looks like on the PC (a vertical quote, which can be used for both open and close).

Re: More about dependencies...

2000-10-23 Thread Raja R Harinath
; > Then > > checking dependency style of g++... gcc > checking dependency style of gcc... gcc > > Why is a ~/depcomp necessary in ~/ since I don't have any code there? Actually it is needed only there, and not in the source directories. You just need one copy of the sc

AC_LANG_SOURCE(C++) and exit

2000-11-02 Thread Raja R Harinath
Hi, AC_LANG_SOURCE(C++) uses extern "C" void exit (int); However, the latest libstdc++ will complain about this, since "exit" function is in the "_C_legacy" and/or "std" namespaces. I think this line shouldn't be in AC_LANG_SOURCE, but instead

Re: AC_LANG_SOURCE(C++) and exit

2000-11-07 Thread Raja R Harinath
ith a good C++ background who could rewrite > AC_LANG_SOURCE(C++) and test it on many compilers. > > I hope that you will find time to create a well tested patch and > submit it to [EMAIL PROTECTED] That takes me out of the contention :-) I've access to GCC, and under duress, Sun

Re: CVS Autotools

2000-12-12 Thread Raja R Harinath
AC_LIBTOOL_CXX is expanded from... configure.in:5: _AC_LIBTOOL_CXX is required by... ./aclocal.m4:759: AC_LIBTOOL_CXX is expanded from... configure.in:5: the top level AC_LIBTOOL_CXX has an AC_REQUIRE({AC_PROG_CXXCPP]) in it. - Hari -- Raja R Harinath -- [EMAIL

Re: Problem with exit() and new version of gcc.

2000-12-17 Thread Raja R Harinath
calls exit() from some function other > than main()? Yup. Also, they should include if they want exit(). - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash

Re: CVS Autotools

2000-12-19 Thread Raja R Harinath
Akim Demaille <[EMAIL PROTECTED]> writes: > >>>>> "Raja" == Raja R Harinath <[EMAIL PROTECTED]> writes: > Raja> Hi, Akim Demaille <[EMAIL PROTECTED]> writes: > >> I'm happy to say that running the test suites of both Libtools

Re: Your 2000-01-10 change CVS src/Makefile.am

2001-01-19 Thread Raja R Harinath
tgid' bit on the /tmp directory. Does BSD still exhibit 'setgid' behaviour? I don't thing the sticky tag changes 'setgid' behaviour of a directory. * What are the permissions on /tmp/myfile? * Can you create files in the your home directory? *

Re: Autoconf 2.49d test: Command not found

2001-03-21 Thread Raja R Harinath
m. > What is it supposed to mean? "Quietly do nothing" :-) The '@' tells make not to print out the command that it is executing. The ':' is the shell synonym for 'true' -- i.e. a safe no-op in a make rule. - Hari -- Raja R Harinath ---

Re: Autoconf 2.49d test: Command not found

2001-03-21 Thread Raja R Harinath
x27;t be necessary from what I know about portable > makefiles. I think it forces 'make' to recheck the timestamp of the rule target. Otherwise, 'make' can use the reasonable optimization that if no rules were executed, the timestamp didn't change -- and avoid exec

Re: tabs in configure.in?

2001-04-26 Thread Raja R Harinath
to me at all, but that's how it is now. So that the case won't succeed on, say, repo/Makefile.indent.in Anyway, I think m4/gettext.m4 should be fixed to use at least case " $CONFIG_FILES " in "*[ ]po/Makefile.in[: ]*") sed ... ;; esac - Har

Re: Supporting include in Makefiles

2001-06-28 Thread Raja R Harinath
tracking mechanism. It is almost definitely not intended as a generic mechanism to support Makefile includes. After all, automake already has it's own support for including makefile fragments -- and that mechanism is already portable to 'make's that don't support any fo

Re: Portable API for writing own macros

2001-07-03 Thread Raja R Harinath
x27;t document them and [snip], > they can change. > > But again, I don't think they will. > > So use them. Well, AC_VAR_* were recently renamed to AS_VAR_* (if that's considered a change :-) - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash

Re: RFI: Trailing blanks

2001-08-17 Thread Raja R Harinath
e it can also solve the other problem: explicit empty lines can be marked with the quadrigraph. - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash

Re: Nested AC_CHECK_LIB and AC_CHECK_HEADER need brackets?

2001-10-03 Thread Raja R Harinath
(png, png_read_info, > [AC_CHECK_HEADER(png.h, > png_ok=yes, > png_ok=no)], > AC_MSG_WARN(*** PNG loader will not be built (PNG library not found) ***), -lz >-lm) > > works OK. Please somebody check that this latter also works with > earlier

Re: cascading variable resolution in AC_SUBST

2001-10-04 Thread Raja R Harinath
hings resolve out to myfile.h i get > #define CONF_DIR "${exec_prefix}/foo" Look at the GNU Autoconf Macro Archive for 'AC_DEFINE_DIR'. http://www.gnu.org/software/ac-archive/Miscellaneous/ac_define_dir.html (This'll put the define in your config.h, though.) - Hari --

Re: FHS && ./configure

2001-10-28 Thread Raja R Harinath
7;make install' to manage your system binaries but use some kind of packaging system. - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash

Re: autoconf 2.5x slowness analysis

2001-11-13 Thread Raja R Harinath
m4_if(m4_quote($2), [], [], > [m4_define([$1], [m4_car($2)])$3[]_m4_foreach([$1], > - [m4_shift($2)], > + m4_car2(m4_shift($2)), > [$

Re: nit about ./config.status

2002-01-19 Thread Raja R Harinath
ence my use of > 'less config.status' and cut'n'paste. As I said, not a major > issue. :-) I often do mkdir -p build/{linux,sol} cd build/linux ../../configure --prefix=foo --enable-bar cd ../sol ../linux/config.status --recheck && ./config.status

Re: Missing test for optional libraries?

2002-03-06 Thread Raja R Harinath
this. Yes. However, it appears Lars may be building code out of CVS, and the 'configure' script may not have been checked in. In this case, he can't help it, he has to install at least that part of the freetype2 package that 'aclocal' would pick up,

Re: Bug#143590: autoconf 2.53 causes ncpfs to not build from source

2002-04-19 Thread Raja R Harinath
upport... */" AC_DEFINE(NO_NET_IF_SUPPORT, 1, [neither net/if.h nor linux/if.h was found, so ipx_* will not build...]) AC_MSG_WARN(Neither nor does exist, only partial make configured)] )] ) - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash

Re: Contents of for C++

2002-07-05 Thread Raja R Harinath
::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' could use one more alternative: '#include using std::exit;' before the '#include ' line. This whole section is necessary since AC_LANG_PROGRAM supports the use of exit() in C/C++ program test fragments. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: Contents of for C++

2002-07-05 Thread Raja R Harinath
; tests require complete control over headers that are included. > > (Since the search paths in our environment are non-standard, all of > my little tests are innocently being given the wrong -- > when they really don't need any such header! It seems the right thing i

Re: PACKAGE_FOO macros

2002-10-24 Thread Raja R Harinath
a good thing that config.h is not easily installable, IMHO. > Please please please give us a way to turn off You can remove AC_CONFIG_HEADER from your configure.ac. > (or put a prefix in front of) these macros. It's already in the ac-archive, as you mention above. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: AC_CHECK_HEADER, autoconf 2.57, includes problem

2003-01-22 Thread Raja R Harinath
- ## > configure: WARNING: ## Report this to [EMAIL PROTECTED] ## > configure: WARNING: ## ## > checking for gtk/gtkgl.h... no A red herring. GIGO ;-) But, the warning does contain a hint that the compiler and the preproce

Re: checking if CC supports weak symbols

2003-01-23 Thread Raja R Harinath
k symbols (possibly with this syntax) -- so maybe the Intel compiler would too. The second is somewhat far-fetched. Support for #pragma weak ... and _Pragma("weak", ...) is likelier. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: checking if CC supports weak symbols

2003-01-24 Thread Raja R Harinath
Hi, Andreas Schwab <[EMAIL PROTECTED]> writes: > Raja R Harinath <[EMAIL PROTECTED]> writes: [snip] > |> * The Intel C compiler for Linux is supposed to be able to compile > |> the Linux kernel. New versions the Linux kernel do use weak > |> symbols

Re: $srcdir

2003-03-05 Thread Raja R Harinath
is to use TESTS_ENVIRONMENT = srcdir=$(srcdir) top_srcdir=$(top_srcdir) This is assuming the test scripts are listed in check_TESTS. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: How hardcode different default prefix? Hack Makefile.in bestway? use autoconf macro?

2003-06-11 Thread Raja R Harinath
y searching for 'default prefix' in the autoconf documentation. The answer's in there. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: `m4_symbols' from frozen file not found in builtin table!

2003-06-21 Thread Raja R Harinath
om the one being used now (probably m4 1.4p vs. m4 1.4). - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: `m4_symbols' from frozen file not found in builtin table!

2003-06-21 Thread Raja R Harinath
Hi, Bruce Korb <[EMAIL PROTECTED]> writes: > Raja R Harinath wrote: > >> Bruce Korb <[EMAIL PROTECTED]> writes: >> >> > NONE:0: /usr/bin/m4: `m4_symbols' from frozen file not found in builtin table! >> > autom4te: /usr/bin/m4 failed with ex

Re: m4_pattern_forbid matches itself

2003-07-22 Thread Raja R Harinath
is not what you think it is > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. Try m4_pattern_forbid([target][_alias],...) to break up any literal grepping of the file. I don't know if it'll work, but it&#

Re: m4_pattern_forbid matches itself

2003-07-24 Thread Raja R Harinath
Hi, Phil Edwards <[EMAIL PROTECTED]> writes: > On Thu, Jul 24, 2003 at 02:44:12PM -0500, Raja R Harinath wrote: >> >> That's strange. It is implemented by a grep. >> >> foreach (split (/\W+/)) >> { >> $prohibited{$_} =

Re: m4_pattern_forbid matches itself

2003-07-24 Thread Raja R Harinath
Phil Edwards <[EMAIL PROTECTED]> writes: > On Thu, Jul 24, 2003 at 02:44:12PM -0500, Raja R Harinath wrote: >> >> That's strange. It is implemented by a grep. >> >> foreach (split (/\W+/)) >> { >> $prohibited{$_} =

Re: m4_pattern_forbid matches itself

2003-07-24 Thread Raja R Harinath
Phil Edwards <[EMAIL PROTECTED]> writes: > On Thu, Jul 24, 2003 at 03:07:29PM -0500, Raja R Harinath wrote: >> >> That's probably because it's been rate-limited. Only one error per >> forbidden word, it appears. > > Ah. Okay, so I just need to put t

Re: AC_LINK_IFELSE

2003-07-29 Thread Raja R Harinath
SAGE_LOG_FD' in the appropriate places for C and C++. Can you check the value of $ac_link when your macro is run. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: config.h vs. -D (fwd)

2003-08-22 Thread Raja R Harinath
ILE], "$MY_CONFIG_FILE", > [default configuration file]) > > > and it seems to work fine both with and without config.h Actually, that works only if you invoke configure with a --prefix argument. Look at http://www.gnu.org/software/ac-archive/htmldoc/ac_define_dir.html for a possible solution. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: error with this portion of configure

2004-07-19 Thread Raja R Harinath
; consider > adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a > nonstandard prefix so pkg-config can find them. > > --- > > is there an explanation for this behavior? maybe, something outside the box? And