autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting at path to AC_CONFIG_AUX_DIR


From: Rhys Ulerich
Subject: Re: Getting at path to AC_CONFIG_AUX_DIR
Date: Mon, 11 Aug 2008 12:13:58 -0500

Thanks for the response Eric, and for catching the quoting error in my
example.

| AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])
>
> This is an undocumented macro.  I'm not sure what you are trying to
> accomplish by using it here.
>
> ...

>
> What's wrong with doing this in configure.ac:
>
> AC_CONFIG_AUX_DIR([build-aux])
>
> then doing this in your Makefile:
>
> aux_dir=$(top_srcdir)/build-aux
> ...
> rule:
>        $(SHELL) $(aux_dir)/tex-it
>

I'm trying to insulate myself  against breakage if/when someone changes the
build-aux directory name.  It looked like the usual Autoconf missing
install-sh logic used AC_CONFIG_AUX_DIR_DEFAULT to handle this.  Just
wondered if there's any public mechanism to handle this.

Also, generally, how do people package/distribute support scripts (like my
$(aux_dir)/tex-it) when posting stuff up to the various Autoconf macro
archives?

- Rhys


reply via email to

[Prev in Thread] Current Thread [Next in Thread]