Revision 4295,
1.3 KB
checked in by yasumichi, 12 years ago
(diff) |
・configure オプションに --enable-web を追加(xml,omf がインストール対象外に)
|
Line | |
---|
1 | # -*- Autoconf -*- |
---|
2 | # Process this file with autoconf to produce a configure script. |
---|
3 | |
---|
4 | AC_PREREQ([2.65]) |
---|
5 | AC_INIT([vine-emacs-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 | AC_ARG_ENABLE(web, |
---|
22 | [ --enable-web Install for web site], |
---|
23 | [case "${enableval}" in |
---|
24 | yes) web=true ;; |
---|
25 | no) web=false ;; |
---|
26 | *) AC_MSG_ERROR(bad value ${enableval} for --enable-web) ;; |
---|
27 | esac],[web=false]) |
---|
28 | |
---|
29 | AM_CONDITIONAL(NO_WEB, test ${web} = false) |
---|
30 | |
---|
31 | if test "x${prefix}" = "xNONE"; then |
---|
32 | prefix=${ac_default_prefix} |
---|
33 | fi |
---|
34 | OMFDIR=`eval echo ${datadir}/omf/vine-emacs-guide` |
---|
35 | AC_SUBST(OMFDIR) |
---|
36 | |
---|
37 | VMDIR=`pkg-config --variable=manualdir vine-manual-base` |
---|
38 | AC_SUBST(VMDIR) |
---|
39 | |
---|
40 | AC_CONFIG_FILES([Makefile |
---|
41 | vine-emacs-guide.spec |
---|
42 | help/Makefile |
---|
43 | help/vine-emacs-guide-ja.omf |
---|
44 | help/figures/Makefile]) |
---|
45 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.