Back to the Main Page. | peti_path_srcdir |
Download the M4 Source. |
PETI_PATH_SRCDIR
1.1.1.1 (2001/07/26) Miscellaneous @ ac-archive-0.5.39
Peter Simons <simons@computer.org>
Find the absolute path of the top source directory and set it in @SRCDIR@. Unfortunately the @top_src@ variable, as built into autoconf, returns a relative path, what is not what I need.
AC_DEFUN([PETI_PATH_SRCDIR], [ AC_MSG_CHECKING(path of top source directory) SRCDIR=`(cd $srcdir;pwd)` AC_MSG_RESULT($SRCDIR) AC_SUBST(SRCDIR) ])