Re: Getting at path to AC_CONFIG_AUX_DIR

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Rhys Ulerich on 8/7/2008 11:55 AM:

Hello Rhys, and sorry for any delays,

|
| AC_DEFUN(AC_FOOBARBAZ,[

Insufficient quoting.  This should be:
AC_DEFUN([AC_FOOBARBAX],[
...

| #...
| 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.

| AC_REQUIRE_AUX_FILE([tex-it])
| AC_SUBST(ac_aux_dir)
| # Output a script that will later invoke $(ac_aux_dir)/tex-it during Make
| #...
| ])
|
| This is a little klunky.  Is there a better way to get of the configured
| AC_CONFIG_AUX_DIR than hijacking ac_aux_dir with AC_SUBST?

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

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@xxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkigPqcACgkQ84KuGfSFAYBglACeNl3NbgKA5he95CQRdoLsQlAh
mccAn1D5CrX3l5El3Q3e83SpwNYAM4c6
=dqq/
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux