Back to the Main Page.

peti_path_srcdir

Download the M4 Source.

Synopsis

PETI_PATH_SRCDIR

Version

1.3 (2003/04/16)     0.5.65   :   Miscellaneous

Author

Peter Simons <simons@computer.org>

Description
obsoleted - if you need it then contact the original author
! 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.

M4 Source Code
AC_DEFUN([PETI_PATH_SRCDIR], [
AC_MSG_CHECKING(path of top source directory)
SRCDIR=`(cd $srcdir;pwd)`
AC_MSG_RESULT($SRCDIR)
AC_SUBST(SRCDIR)
])