mklinks.in: Don't make directories if the link name doesn't contain `/'.
[cfd] / configure.ac
CommitLineData
1f79a056 1dnl -*-autoconf-*-
b91e2391 2dnl
3dnl Configuring the Common Files Distribution
4dnl
5dnl (c) 1997 Mark Wooding
6dnl
7
8dnl----- Licensing notice ---------------------------------------------------
9dnl
10dnl This file is part of the Common Files Distribution (`common')
fcc208c5 11dnl
b91e2391 12dnl `Common' is free software; you can redistribute it and/or modify
13dnl it under the terms of the GNU General Public License as published by
14dnl the Free Software Foundation; either version 2 of the License, or
15dnl (at your option) any later version.
fcc208c5 16dnl
b91e2391 17dnl `Common' is distributed in the hope that it will be useful,
18dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
19dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20dnl GNU General Public License for more details.
fcc208c5 21dnl
b91e2391 22dnl You should have received a copy of the GNU General Public License
23dnl along with `common'; if not, write to the Free Software Foundation,
24dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
ba4d97a4
MW
26dnl--------------------------------------------------------------------------
27dnl Initialization.
28
1f79a056 29mdw_AUTO_VERSION
fcc208c5 30AC_INIT([Common Files Distribution], AUTO_VERSION,
ba4d97a4 31 [mdw@distorted.org.uk], [cfd])
1f79a056 32AC_CONFIG_SRCDIR([mdw-setup])
ba4d97a4
MW
33AC_CONFIG_AUX_DIR([config])
34AM_INIT_AUTOMAKE([foreign])
6888a158 35mdw_SILENT_RULES
1f79a056 36
eb4ac913
MW
37AC_PROG_LN_S
38
ba4d97a4
MW
39dnl--------------------------------------------------------------------------
40dnl Finding installation directories.
41
42AC_ARG_WITH(
43 [aclocaldir],
44 AS_HELP_STRING([--with-aclocaldir=DIR],
45 [store autoconf snippets in DIR]),
46 [aclocaldir=$withval],
47 [AC_CACHE_CHECK([where to stash Autoconf macros], [mdw_cv_aclocaldir], [
48 mdw_cv_aclocaldir=$(aclocal --print-ac-dir)
49 if test $? -ne 0; then AC_MSG_ERROR([aclocal not installed]); fi
50 ])
51 aclocaldir=$mdw_cv_aclocaldir])
1f79a056
MW
52AC_SUBST([aclocaldir])
53
ba4d97a4
MW
54dnl--------------------------------------------------------------------------
55dnl Output.
56
57AC_CONFIG_FILES([Makefile])
1f79a056 58AC_OUTPUT
ba4d97a4
MW
59
60dnl----- That's all, folks --------------------------------------------------