Revision 2967,
1012 bytes
checked in by yasumichi, 14 years ago
(diff) |
autotools 対応
|
Line | |
---|
1 | # -*- Autoconf -*- |
---|
2 | # Process this file with autoconf to produce a configure script. |
---|
3 | |
---|
4 | AC_PREREQ([2.65]) |
---|
5 | AC_INIT([vine-plus-guide], [5.9.0], [http://vinelinux.org/bts.html]) |
---|
6 | AM_INIT_AUTOMAKE([no-dist-gzip dist-bzip2 tar-ustar]) |
---|
7 | |
---|
8 | # Checks for programs. |
---|
9 | PKG_CHECK_EXISTS([vine-manual-base], , AC_MSG_ERROR([Cannot find vine-manual-base.])) |
---|
10 | PKG_CHECK_EXISTS([vine-manual-build], , AC_MSG_ERROR([Cannot find vine-manual-build.])) |
---|
11 | |
---|
12 | # Checks for libraries. |
---|
13 | |
---|
14 | # Checks for header files. |
---|
15 | |
---|
16 | # Checks for typedefs, structures, and compiler characteristics. |
---|
17 | |
---|
18 | # Checks for library functions. |
---|
19 | |
---|
20 | # Define variables |
---|
21 | if test "x${prefix}" = "xNONE"; then |
---|
22 | prefix=${ac_default_prefix} |
---|
23 | fi |
---|
24 | OMFDIR=`eval echo ${datadir}/omf/vine-plus-guide` |
---|
25 | AC_SUBST(OMFDIR) |
---|
26 | |
---|
27 | VMDIR=`pkg-config --variable=manualdir vine-manual-base` |
---|
28 | AC_SUBST(VMDIR) |
---|
29 | |
---|
30 | AC_CONFIG_FILES([Makefile |
---|
31 | vine-plus-guide.spec |
---|
32 | help/vine-plus-guide-ja.omf |
---|
33 | help/Makefile]) |
---|
34 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.