Revision 7098,
1.4 KB
checked in by yasumichi, 12 years ago
(diff) |
Merge branch 'master' into vl6
|
Rev | Line | |
---|
[2898] | 1 | # -*- Autoconf -*- |
---|
| 2 | # Process this file with autoconf to produce a configure script. |
---|
| 3 | |
---|
| 4 | AC_PREREQ([2.65]) |
---|
[7098] | 5 | AC_INIT([vine-desktop-guide], [6.0.0], [http://vinelinux.org/bts.html]) |
---|
[2898] | 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 | # Define variables |
---|
[4271] | 20 | AC_ARG_ENABLE(web, |
---|
| 21 | [ --enable-web Install for web site], |
---|
| 22 | [case "${enableval}" in |
---|
| 23 | yes) web=true ;; |
---|
| 24 | no) web=false ;; |
---|
| 25 | *) AC_MSG_ERROR(bad value ${enableval} for --enable-web) ;; |
---|
| 26 | esac],[web=false]) |
---|
| 27 | |
---|
| 28 | AM_CONDITIONAL(NO_WEB, test ${web} = false) |
---|
| 29 | |
---|
[2898] | 30 | if test "x${prefix}" = "xNONE"; then |
---|
| 31 | prefix=${ac_default_prefix} |
---|
| 32 | fi |
---|
| 33 | OMFDIR=`eval echo ${datadir}/omf/vine-desktop-guide` |
---|
| 34 | AC_SUBST(OMFDIR) |
---|
| 35 | |
---|
| 36 | VMDIR=`pkg-config --variable=manualdir vine-manual-base` |
---|
| 37 | AC_SUBST(VMDIR) |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | AC_CONFIG_FILES([Makefile |
---|
[2902] | 41 | vine-desktop-guide.spec |
---|
[2898] | 42 | help/Makefile |
---|
[2904] | 43 | help/vine-desktop-guide-ja.omf |
---|
[2898] | 44 | help/figures/Makefile |
---|
[6281] | 45 | help/figures/kernel-pae/Makefile |
---|
[2898] | 46 | help/figures/update-watch/Makefile]) |
---|
| 47 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.