Re: blank line following trailing backslash

2009-01-26 Thread Raja R Harinath
Hi, Andreas writes: > I just had an ingenious idea to limit conflicts in versioning systems. > > When you specify a list of files for a rule you put every file in a line like > this. > > fileA.c \ > fileB.c \ > fileC.c One slightly ugly-looking approach I've seen is EMPTY = fo

Re: automake less verbose (iter 3)

2008-12-30 Thread Raja R Harinath
Hi, Jan Engelhardt writes: > On Monday 2008-12-22 21:36, Ralf Wildenhues wrote: >>> >On Monday 2008-12-15 21:19, William Pursell wrote: >>> >>> >The make info pages mention that $? expands to “all the prerequisites >>> >that are newer than the target”, and that sounds like there could be >>> >mo

Re: best practice for injecting include dir across a project

2008-07-24 Thread Raja R Harinath
Hi, Monty Taylor <[EMAIL PROTECTED]> writes: > I've got a project that has 24 Makefile.am files. At the top of all of > them at the moment, I've got: > > AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include [snip] > PS. Yes...I know the -I$(top_builddir)/include is ridiculous... I > in

Re: Inproper actions when version.texi is used

2008-07-16 Thread Raja R Harinath
Hi, Herbert Euler <[EMAIL PROTECTED]> writes: > I encountered a problem using version.texi with GNU make: after > changing the version of my project in configure.in GNU make has to be > executed twice to get the correct version number in the info document. > I had sent a mail to the bug-make mail

Automake support for Mono

2007-06-27 Thread Raja R Harinath
Hi, I got a chance to work on automake after 4 years :-) As part of the Novell HackWeek, I'm working on a set of patches to add native support for Mono/.NET assemblies to automake. I have a promising start, and would like to get some comments. I'll try to post the in-work patches onto the '-pat

Re: superfluous test in AC_CHECK_HEADERS?

2004-08-17 Thread Raja R Harinath
he file exists or not. Is the second test not > subsumed by the first one (if that one is successful)? The first test uses $CFLAGS and $CPPFLAGS, while the second only uses $CPPFLAGS. If you have some -I and -D in your $CFLAGS, the results will differ. (I'm not justifying the double

Re: how to change the behaviour of "make check"?

2003-09-17 Thread Raja R Harinath
; ./configure > cp Makefile TMP > grep -v "^[ ]*test ...failed. -eq 0" TMP > Makefile > rm TMP > make That seems a roundabout way to do it. Just copy the check-TESTS rule into your Makefile.am file, and automake won't generate its internal

Re: 1.7.6, DIST_SUBDIRS, and distcheck

2003-08-14 Thread Raja R Harinath
e to solve this another way? A rule of thumb is that every Makefile.am should have a corresponding *unconditional* AC_CONFIG_FILES entry in your configure.ac. The directories and Makefiles should be created even if nothing in them is built. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: delete aclocal.m4? keep generated files on cvs server? enforcespecefic automake/conf version?

2003-07-30 Thread Raja R Harinath
Hi, Andrew Suffield <[EMAIL PROTECTED]> writes: > On Mon, Jul 28, 2003 at 05:55:15PM -0500, Raja R Harinath wrote: >> Andrew Suffield <[EMAIL PROTECTED]> writes: [snip autoreconf/autopoint/AM_GNU_GETTEXT([external]) dicussion] >> > All that does is stop including

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: delete aclocal.m4? keep generated files on cvs server? enforcespecefic automake/conf version?

2003-07-28 Thread Raja R Harinath
Andrew Suffield <[EMAIL PROTECTED]> writes: > On Mon, Jul 28, 2003 at 05:33:43PM -0500, Raja R Harinath wrote: >> Andrew Suffield <[EMAIL PROTECTED]> writes: >> >> > autoreconf has a habit of doing silly things like running autopoint, >> > whic

Re: delete aclocal.m4? keep generated files on cvs server? enforcespecefic automake/conf version?

2003-07-28 Thread Raja R Harinath
n't want. I've never seen it actually do what I wanted, and > frankly, it's far too complicated for what should be a trivial script. It does that only when you ask for 'gettext'. On most modern machines, esp. on Debian, you should replace AM_GNU_GETTEXT with AM_

Re: Filenames containing blanks

2003-07-23 Thread Raja R Harinath
nd compare > > % make # GNU make > make: *** No rule to make target `f 1', needed by `all'. Stop. > % pmake # NetBSD make > make: don't know how to make f\. Stop > % fmake # FreeBSD make > make: don't know how to make f\

Re: Problems getting dependencies compiled before executable....

2003-06-17 Thread Raja R Harinath
ases where automake cannot figure out that a library is part of link line, for example when the list of libraries is AC_SUBSTed in. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: 2 questions about libraries

2003-06-17 Thread Raja R Harinath
dir)/src/errors/libErrors.a \ > $(top_srcdir)/src/lib/libLib.a I think you mean $(top_builddir). $(top_srcdir) is used to refers to source files. - 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: Removing dependencies

2003-04-04 Thread Raja R Harinath
Hi, Bill Moseley <[EMAIL PROTECTED]> writes: > On Fri, 4 Apr 2003, Raja R Harinath wrote: > >> Hi, >> >> Raja R Harinath <[EMAIL PROTECTED]> writes: >> [snip] >> > $(html_DATA): .html-stamp >> >if test -f $@; then :; else rm

Re: Removing dependencies

2003-04-04 Thread Raja R Harinath
Hi, Raja R Harinath <[EMAIL PROTECTED]> writes: [snip] > $(html_DATA): .html-stamp > if test -f $@; then :; else rm -f $<; done That should read: if test -f $@; then :; else rm -f $<; $(MAKE) .html-stamp; done - Hari -- Raja R Harinath ---

Re: Removing dependencies

2003-04-04 Thread Raja R Harinath
Also, if you only support using GNU make when developing this package, you may want to use the following more useful (but untested) rule: $(html_DATA): .html-stamp if test -f $@; then :; else rm -f $<; done This'll allow you to rm CHANGES.html make and have CHANGES.html recreated. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

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: Quick question on optional builds with automake

2002-12-06 Thread Raja R Harinath
' to support --enable-blenderplayer --enable-webplugin Then, the standard 'make && make check && make install' will do the right thing. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: installing config.h

2002-09-04 Thread Raja R Harinath
r and $pkgincludedir are in $prefix, not in $exec_prefix. So, technically, they are meant for arch-independent headers. (To confound things, I think the FHS has /usr/include as arch-dependent. So, what you have will be OK for a Linux packager who uses $prefix=/usr.) - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: depcomp for texinfo + automake in guile

2002-08-14 Thread Raja R Harinath
problem though (you seem to be the first > person to be interested). Perhaps automake should recognize the following idiom for adding new 'include .dep/*' lines: AM_DEP_FILES = $(DEPDIR)/foo.Ptexi $(DEPDIR)/bar.idl.Pcc It can just add these files to the DEP_FILES variable, and have the 'include' lines automatically added. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: perl path patch

2002-06-26 Thread Raja R Harinath
U/Linux machine. > # -*- perl -*- > # @configure_input@ > > -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' > -if 0; > - This is to re-execute the script with Perl in case somehow a Bourne shell started executing this script. - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: automake warning using lib_LTLIBRARIES

2002-01-24 Thread Raja R Harinath
Raja R Harinath <[EMAIL PROTECTED]> writes: > Roger Leigh <[EMAIL PROTECTED]> writes: > >> I'm getting this warning from automake: >> >> roger@whinlatter:~/gimp-print/newbuild$ automake >> automake: both `configure.ac' and `configure.in

Re: automake warning using lib_LTLIBRARIES

2002-01-24 Thread Raja R Harinath
EXTRA_LTLIBRARIES = libgimpprint.la ^^^ My guess is that it complains about the EXTRA_LTLIBRARIES line. You don't need that line, since automake is supposed to figure it out itself. I'm not sure whether it's a bug or not. - Hari -- Raja R

Re: what is this shell call trying to solve?

2002-01-22 Thread Raja R Harinath
Hi, Tom Tromey <[EMAIL PROTECTED]> writes: >>>>>> "Hari" == Raja R Harinath <[EMAIL PROTECTED]> writes: > > Hari> That code is there support non-srcdir builds in the face of > Hari> 'make's with broken VPATH implementations. If

Re: what is this shell call trying to solve?

2002-01-22 Thread Raja R Harinath
for a failure condition and... I dunno, > do something strang in that condition. That code is there support non-srcdir builds in the face of 'make's with broken VPATH implementations. If you look at the Makefile, you'll see that it is checking to see whether 'make' said t

Re: Recreate depfiles when regenerating Makefiles

2002-01-06 Thread Raja R Harinath
Hi, Tom Tromey <[EMAIL PROTECTED]> writes: >>>>>> "Hari" == Raja R Harinath <[EMAIL PROTECTED]> writes: > > Hari> Akim once suggested adding a facility to hook commands to files > Hari> listed in AC_CONFIG_FILES. > > The problem

Recreate depfiles when regenerating Makefiles

2002-01-01 Thread Raja R Harinath
hackily. One issue with generating the above command is that it is safe to invoke the 'depfiles' CONFIG_COMMAND only in some cases, and at the time 'automake' emits the Makefile regeneration code, it doesn't know if it's safe yet. So, here goes: From Raja R Harin

Re: Generated headers that don't get installed

2001-10-16 Thread Raja R Harinath
ght. > So I tried nodist_noinst_HEADERS. This had the unexpected effect of > installing the headers in the root directory! That seems to be a bug in automake. Can you file a bug report? - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else

Re: setting additional libtool runtime variables

2001-10-15 Thread Raja R Harinath
install it'. Basically, I want the wrapper script setup by > libtool to contain an additional variable. It just happens that the 'autoconf' wrapper scripts are in the 'tests' directory. You can use that approach in other places too. - Hari -- Raja R Harinath --

Re: several automake questions

2001-10-12 Thread Raja R Harinath
ibexecdir)/cgi-bin > cgibin_PROGRAMS = mumble > mumble_SOURCES = ... That should be cgibinexecdir = $(libexecdir)/cgi-bin cgibinexec_PROGRAMS = mumble so that things work as expected with 'make install-exec'. - Hari -- Raja R Harinath -- [EMAIL P

Re: AM_CONDITIONAL

2001-09-25 Thread Raja R Harinath
bugging" feature. It helps you root out mistakes that you may have made w.r.t builddir, srcdir, dist, nodist, BUILT_SOURCES and other issues. It all boils down to this: the tarball generated by 'make dist' should NOT depend on what flags you passed to 'configure' in the build tree where you ran 'make dist' or 'make distcheck'. - 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: AM_CONDITIONAL

2001-09-24 Thread Raja R Harinath
rated package can later be configured with different settings, after all. So, all the directories and Makefiles should exist, even if they're never invoked during some builds. - 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: Automake 1.5 - depcomp not added to DIST_COMMON

2001-09-22 Thread Raja R Harinath
xist"); > + } > + else > + { > + &generate_makefile ($output_files{$am_file}, $am_file); > + } > } > +++$automake_has_run; > } > +while ($automake_needs_to_reprocess_all_files); This doesn't look like it'll work

Re: Bugs/Features in handling of continued Makefile rules

2001-09-21 Thread Raja R Harinath
erve the comment (which is presumably the > reason it was entered) and save the Makefile.in semantics. Yep. However, I wouldn't want Automake to move the comments. Automake isn't, and doesn't try to be, a make-rule validator for the user-written rules in Makefile.am. It shoul

Re: AM_CONDITIONAL

2001-09-21 Thread Raja R Harinath
a feature. > The next question, is there a workaround to solve my problem? Given my guess, you should ensure that all directories and all Makefiles are created by the 'configure' scripts, even if the build will not enter those directories. - Hari -- Raja R Harinath

Re: System configuration during install

2001-07-05 Thread Raja R Harinath
anging the boot-time behaviour of a machine, and/or may not have permissions to modify the boot-time settings. I would suggest putting in a 'setup-boot' target to do this, and ask people to explicitly invoke that rule to integrate your program into the boot setup. - Hari -- Raja R Harinat

Re: DEPDIR not set by current CVS Automake

2001-07-03 Thread Raja R Harinath
ave the right version? Is AM_SET_DEPDIR properly invoked in init.m4? - 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: 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: sub conditionals_true_when (@@) [PATCH]

2001-06-14 Thread Raja R Harinath
7;redundant_condition', along with your modification to look at the tail of @conds too. - 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: sub conditionals_true_when (@@) [PATCH]

2001-06-14 Thread Raja R Harinath
ecking. > - if ! conditionals_true_when ((@parent_conds), ($vcond)); >+if ! conditionals_true_when ([@parent_conds], [$vcond]); This would then be, if ! conditionals_true_when(@parent_conds, $vcond) - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When

Re: The %.o: %.cc rule

2001-06-05 Thread Raja R Harinath
Tom Tromey <[EMAIL PROTECTED]> writes: >>>>>> "Hair" == Raja R Harinath <[EMAIL PROTECTED]> writes: >Clark> test_SOURCES = d1/s1.cc d2/s2.cc > >Hair> Try using >Hair> AUTOMAKE_OPTIONS = subdir-objects > > subdir-objects will c

Re: The %.o: %.cc rule

2001-06-04 Thread Raja R Harinath
Clark Rawlins <[EMAIL PROTECTED]> writes: [snip] > I want to be able to do something like: > > test_SOURCES = d1/s1.cc d2/s2.cc Try using AUTOMAKE_OPTIONS = subdir-objects I think that does what you want (you have to use the in-CVS version of automake). - Hari --

[PATCH] Make ASSIGNMENT_PATTERN less greedy

2001-05-12 Thread Raja R Harinath
Hi, The recently added ASSIGNMENT_PATTERN is a little too greedy. Given FOO=-DBAR=baz it incorrectly matches the macro name to be 'FOO=-DBAR' rather than just 'FOO'. Here's an obvious fix, and a possible testcase. from Raja R Harinath <[EMAIL

CVS Automake: Fix install-fooHEADERS

2001-05-01 Thread Raja R Harinath
Hi, The following is necessary for install-fooHEADERS to work. from Raja R Harinath <[EMAIL PROTECTED]> * data.am (install-%DIR%%PRIMARY%): Execute the same command as echoed. Index: data.am === RCS file: /cvs/au

Re: Dependency to update Makefile

2001-04-23 Thread Raja R Harinath
f any released automake is used). So, it matters if the target being built out-of-turn is mentioned in BUILT_SOURCES or not. - 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: depcomp bug (was [Fwd: CVS update: ccvs])

2001-04-07 Thread Raja R Harinath
#x27;gcc3' code looks somewhat suspect :-) I think it's preferable to use less obtuse code. The rest of the file uses if test "$stat" != "0"; then exit $stat; fi So, the cases fixed above should use code like ... if test $stat -ne 0; then rm -f "$tmp

Re: CVS autoconf + CVS automake = autoconf doesn't know its version

2001-04-06 Thread Raja R Harinath
"Lars J. Aas" <[EMAIL PROTECTED]> writes: > On Thu, Apr 05, 2001 at 05:36:48PM -0500, Raja R Harinath wrote: > : The following patch fixes a problem with CVS autoconf, if a recent > : enough CVS snapshot of automake was used on it. > > This is my proposal. @PA

Re: SGI mode depcomp breaks when '.' appears in source filenames twice

2001-04-06 Thread Raja R Harinath
Thomas Dickey <[EMAIL PROTECTED]> writes: > On Thu, Apr 05, 2001 at 10:32:02PM -0500, Raja R Harinath wrote: > > Well -- the whole idea is to remove the rule targets. I know of only > > one use of multiple colons on a line -- in GNU make. Even there, > > everything be

Re: SGI mode depcomp breaks when '.' appears in source filenames twice

2001-04-05 Thread Raja R Harinath
Hi, Alexandre Oliva <[EMAIL PROTECTED]> writes: > On Apr 5, 2001, Raja R Harinath <[EMAIL PROTECTED]> wrote: > > Robert Boehne <[EMAIL PROTECTED]> writes: > >> sed 's/^[^\.]*\.o://' | tr ' > > > Try changing that to > > >

Re: CVS autoconf + CVS automake = autoconf doesn't know its version

2001-04-05 Thread Raja R Harinath
Hi, Alexandre Oliva <[EMAIL PROTECTED]> writes: > On Apr 5, 2001, Raja R Harinath <[EMAIL PROTECTED]> wrote: > > The problem is that 'automake' now depends on the AC_SUBSTs in > > AM_INIT_AUTOMAKE to subst in VERSION and PACKAGE. Since the same > >

Re: SGI mode depcomp breaks when '.' appears in source filenames twice

2001-04-05 Thread Raja R Harinath
7; | tr ' Try changing that to sed 's/^.*\.o://' | tr ' This should be safe. I don't see why the original tried to avoid '.'s. The regexp is limited to the first ':' -- so the '.*' cannot swallow any more of the line. - Hari --

CVS autoconf + CVS automake = autoconf doesn't know its version

2001-04-05 Thread Raja R Harinath
f 'automake' subst these in when 'AM_INIT_AUTOMAKE' +# is present in configure.in. However, some versions don't -- they +# depend on the fact that aclocal.m4 will have lines that subst them in. +# Some of those versions also don't understand 'm4_include'.

Re: AM_MAKE_INCLUDE

2001-03-27 Thread Raja R Harinath
ms to > receive. That makes sense. I think those are supressed when you run GNU make with the '-s' option. (The -s option was present in Unix 7th Edition too, so it can pretty much be used with impunity.) - Hari -- Raja R Harinath -- [EMAIL PROTECTED]

Re: AM_MAKE_INCLUDE

2001-03-27 Thread Raja R Harinath
nclude "#" I've seen something similar. Running './config.status --recheck' again seems to fix it. Unfortunately, the output of make is redirected to /dev/null. My suspicion is that this could do with the timestamp warning sometimes emitted by GNU make. Is the direct

Re: 81-lang-extensions.patch

2001-03-23 Thread Raja R Harinath
Hi, Akim Demaille <[EMAIL PROTECTED]> writes: > Raja R Harinath <[EMAIL PROTECTED]> writes: [snip] > | Wouldn't this be more compact and readable without the loop? > | > | $lang_obj->ansi($options{'ansi'})if exists $options{'ansi'

Re: 81-lang-extensions.patch

2001-03-23 Thread Raja R Harinath
ansi'})if exists $options{'ansi'}; $lang_obj->autodep ($options{'autodep'}) if exists $options{'autodep'}; $lang_obj->compile ($options{'compile'}) if exists $options{'compile'}; # ... delete $options{$_} for (('ansi', &

Re: depcomp changes for IRIX

2001-03-15 Thread Raja R Harinath
in the source tree * you're building in a separate tree, but provided a relative path to the source tree Also, in general, you also need to trust the compiler not to convert relative include paths to absolute while generating dependencies. Since, in this case, the compiler is "known", this isn't an issue. - 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: *.o not in src_dir

2001-02-27 Thread Raja R Harinath
27; or > '$(srcdir)/bin-sun-solaris-2.7', etc... Very simple. $ cd $(srcdir) $ mkdir bin-i686-linux; cd bin-i686-linux $ ../configure --prefix=... - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else fails, read the instructions.

Re: automake asks for a "depcomp" file

2001-02-21 Thread Raja R Harinath
sage is buggy). The 'depcomp' program is used for automatic dependency generation support. Previous versions of automake supported dependency generation with GNU make, GCC, and only by the "maintainer". With 'depcomp', automake now supports dependency generati

Re: [PATCH] depcomp and gcc3 still not safe enough

2001-02-17 Thread Raja R Harinath
ude) which don't require the "save to temp and move" method. In fact, it may even be confusing for some uses. - 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] depcomp and gcc3 still not safe enough

2001-02-17 Thread Raja R Harinath
Hi, Raja R Harinath <[EMAIL PROTECTED]> writes: > GCC 3.0 doesn't still exactly implement exactly what 'depcomp' wants. > > The problem is that if the compile fails, the file specified to -MF is > deleted too. With 'gcc -MF $depfile', $depfile

[PATCH] depcomp and gcc3 still not safe enough

2001-02-17 Thread Raja R Harinath
F. Here's a patch to fix this problem. (The 'if' statement looks slightly peculiar, but it matches similar 'if's used in the rest of the file.) from Raja R Harinath <[EMAIL PROTECTED]> * depcomp

CVS automake: depcomp/gcc3 doesn't propagate errors?

2001-02-09 Thread Raja R Harinath
x. It seems the right thing to do even for the detection code in depend.m4. from Raja R Harinath <[EMAIL PROTECTED]> * depcomp (gcc3): Propagate exit code. Index: depcomp === RCS file: /cvs/automake/automake/depcomp,v

Revert setting of CONFIG_COMMANDS when running config.status

2001-02-09 Thread Raja R Harinath
_PREREQ(2.50) is seen, ./config.status --files=$@ rather than depend on specific details of the implementation of config.status. I've attached a patch only to revert the CONFIG_COMMANDS case. I think the CONFIG_LINKS= part in the above is harmless. - Hari from Raja R Harinath

Re: 26-makesort.patch

2001-02-05 Thread Raja R Harinath
sting code. That seems counter to current 'automake' behaviour. IIRC, if automake sees a "special" target in Makefile.am, it won't generate code for that target. E.g., if the Makefile.am has a 'check:' target, the builtin test harness will not be generated. - Hari

Re: More an autopackage

2001-01-22 Thread Raja R Harinath
7; (now called 'libtricks' I think) from Debian. It is essentially an LD_PRELOAD that overrides getuid/open etc. and makes a process think that it's executing as root. - Hari -- Raja R Harinath -- [EMAIL PROTECTED] "When all else fails, read the in

Re: Support for configure.ac

2001-01-18 Thread Raja R Harinath
ransform ('s/\@TEXI\@/' . $info_cursor . '/g; ' . 's/\@VTI\@/' . $vti . '/g; ' . 's/\@VTEXI\@/' . $vtexi . '/g;' . 's,\@MDDIR\@,' . $conf_pat . &

Re: new depcomp causes trouble w/fileutils

2001-01-11 Thread Raja R Harinath
27;m using automake-1.4b. > > | 2001-01-10 Tom Tromey <[EMAIL PROTECTED]> > | > | * depcomp: Handle gcc 3. I think this is a GCC bug, not a problem with 'automake'. For some reason, it is treating the -c as a -E. - Hari -- Raja R Harinath ---

Re: Automake Real Millenium Beta

2000-12-23 Thread Raja R Harinath
7;ll consider this -- the message didn't have a [PATCH] tag, and was at the end of a thread which you may have missed.) - 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: Handle Libtool from multi-language-branch

2000-12-22 Thread Raja R Harinath
Tom Tromey <[EMAIL PROTECTED]> writes: > >>>>> "Raja" == Raja R Harinath <[EMAIL PROTECTED]> writes: > Raja> The following patch adds minimal support for Libtool from the > Raja> multi-language-branch. > > Thanks. > > Do we need t

Re: distributing files generated by configure

2000-12-22 Thread Raja R Harinath
y. That's why I said that these probably shouldn't be created by configure. The only downside being the necessity of an explicit rule with a 'sed' command, which I don't see as being too onerous. BTW, why do you need to 'configure'

Handle Libtool from multi-language-branch

2000-12-22 Thread Raja R Harinath
ears here for compatibility with old versions - # of libtool. - 'ylwrap', 'acinclude.m4', @libtoolize_files, 'ltconfig', + 'ylwrap', 'acinclude.m4', @libtoolize_files, @libtoolize_sometimes, 'missing', 'depcomp', 'compile', 'py-compile' ); - 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] etags support

2000-12-21 Thread Raja R Harinath
supports "--etags-include=" or "-i " for includes. If Exuberent etags is supposed to be a drop-in replacement for Emacs etags, it should support the same options. Otherwise, it is a bug in the distribution if it gives you a "non-standard" e

Re: BOUNCE pdftex@tug.org: Non-member submission from ["Derek R. Price" ]

2000-12-19 Thread Raja R Harinath
ource files, this would disable either the building > of PDFs or it would disable everything else. Actually, new versions of texinfo.tex from ftp.gnu.org seem to not need a special pdftexinfo.tex. - 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: AC_CONFIG_FILES problem

2000-11-07 Thread Raja R Harinath
more readable command with a beta autoconf (2.49a): $SHELL ./config.status --file=foo:foo-top.in:$(GUTS):foo-bot.in - 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: How to install "config.h"

2000-10-30 Thread Raja R Harinath
it's generated for, not as a general portability helper. In other words, wanting to install config.h is itself the problem ;-) There is also the problem with installing something that depends on the output of a configure run into $prefix. The proper home for such beasts is $exec_prefix. It wo

Re: How to install "config.h"

2000-10-27 Thread Raja R Harinath
(I know, in "reasonable" circumstances, this example won't really cause problems, even with both config.h being included.) And, then we have the problem of having anything depending on the output of config.status going into $prefix rather than $exec_prefix. - Hari -- Raja R Harinath -

Re: ifeq/else/endif problem

2000-10-27 Thread Raja R Harinath
): In configure.in, MK=''; AC_SUBST(MK) And in Makefile.am: @MK@ifeq ... foo @MK@else bar @MK@endif However, you cannot put in automake magic variables (things like foo_SOURCES, foo_LDFLAGS, etc) inside an ifeq/else/endif. Rather, yo

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

Re: dependencies in c++

2000-10-19 Thread Raja R Harinath
month. Did you remove config.cache before rerunning the configure? 'config.cache' may have the results of a previous run where you didn't --enable-dependency-tracking, or it may have had the results for a different compiler. - Hari -- Raja R Harinath --

Re: [PATCH] compare header files before installing

2000-10-16 Thread Raja R Harinath
use $(INSTALL_HEADER) which defaults to $(INSTALL_DATA), and allow users to specify a special installer if they choose. Of course, it would be nice if 'install' in fileutils could be extended to provide a --only-if-change option. Usage would be something like make INSTALL_HEADE

Re: config.site

2000-07-12 Thread Raja R Harinath
dir) and use @my_bindir@ instead of @bindir@. Finally, you can write a makefile rule: foo: foo.in sed 's,@bindir@,$(bindir),' $< > $@ Since 'make' fully expands $(bindir). This last trick is used in GNOME, but I think Alexandre's macro is pretty cool :-) - 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: Additional aclocal dir

2000-03-21 Thread Raja R Harinath
t; installed in /usr/share/aclocal] Aha. That's different. The gtk/gimp/gnome autogen.sh files don't know about the Makefile variable ACLOCAL_AMFLAGS. Also, ACLOCAL_AMFLAGS is not meant to handle your situation, I think. That's partly why you need to set the ACLOCAL_FLAGS environm