X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/3dc9c14b343e27b17e149dd6c474d613c337bbd9:/configure.in..1f79a056146f0b172111b8379ccc344002848e66:/configure.ac diff --git a/configure.in b/configure.ac similarity index 80% rename from configure.in rename to configure.ac index e30c30a..4f3c066 100644 --- a/configure.in +++ b/configure.ac @@ -1,6 +1,4 @@ -dnl -*-m4-*- -dnl -dnl $Id$ +dnl -*-autoconf-*- dnl dnl Configuring the Common Files Distribution dnl @@ -25,11 +23,17 @@ dnl You should have received a copy of the GNU General Public License dnl along with `common'; if not, write to the Free Software Foundation, dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_INIT(mklinks.in) -AM_INIT_AUTOMAKE(common, 1.2.10) +mdw_AUTO_VERSION +AC_INIT([Common Files Distribution], AUTO_VERSION, + [mdw@distorted.org.uk], [cfd]) +AM_INIT_AUTOMAKE([foreign]) +AC_CONFIG_SRCDIR([mdw-setup]) + AC_CACHE_CHECK([where to stash Autoconf macros], [aclocaldir], [ aclocaldir=`aclocal --print-ac-dir` if test $? -ne 0; then AC_MSG_ERROR([aclocal not installed]); fi ]) -AC_SUBST(aclocaldir) -AC_OUTPUT(Makefile mklinks findlinks txtlib mkaclocal) +AC_SUBST([aclocaldir]) + +AC_CONFIG_FILES([Makefile mklinks findlinks]) +AC_OUTPUT