autoconf
[Top][All Lists]
Advanced

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

Getting at path to AC_CONFIG_AUX_DIR


From: Rhys Ulerich
Subject: Getting at path to AC_CONFIG_AUX_DIR
Date: Thu, 7 Aug 2008 12:55:37 -0500

'afternoon,

I'm putting together a (hopefully reusable) macro the requires a script in
my AC_CONFIG_AUX_DIR directory:

AC_DEFUN(AC_FOOBARBAZ,[
#...
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])
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?

Thanks,
Rhys


reply via email to

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