Haibo Huang | 4c28362 | 2019-12-13 16:47:52 -0800 | [diff] [blame] | 1 | dnl |
| 2 | dnl Configuration script for CUPS. |
| 3 | dnl |
| 4 | dnl Copyright © 2007-2019 by Apple Inc. |
| 5 | dnl Copyright © 1997-2007 by Easy Software Products, all rights reserved. |
| 6 | dnl |
| 7 | dnl Licensed under Apache License v2.0. See the file "LICENSE" for more |
| 8 | dnl information. |
| 9 | dnl |
| 10 | |
| 11 | dnl We need at least autoconf 2.60... |
| 12 | AC_PREREQ(2.60) |
| 13 | |
| 14 | dnl Package name and version... |
Haibo Huang | 588410f | 2020-10-28 22:24:51 -0700 | [diff] [blame] | 15 | AC_INIT([CUPS], [2.3.3], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/]) |
Haibo Huang | 4c28362 | 2019-12-13 16:47:52 -0800 | [diff] [blame] | 16 | |
| 17 | sinclude(config-scripts/cups-opsys.m4) |
| 18 | sinclude(config-scripts/cups-common.m4) |
| 19 | sinclude(config-scripts/cups-directories.m4) |
| 20 | sinclude(config-scripts/cups-manpages.m4) |
| 21 | |
| 22 | sinclude(config-scripts/cups-sharedlibs.m4) |
| 23 | sinclude(config-scripts/cups-libtool.m4) |
| 24 | sinclude(config-scripts/cups-compiler.m4) |
| 25 | |
| 26 | sinclude(config-scripts/cups-network.m4) |
| 27 | sinclude(config-scripts/cups-poll.m4) |
| 28 | sinclude(config-scripts/cups-gssapi.m4) |
| 29 | sinclude(config-scripts/cups-threads.m4) |
| 30 | sinclude(config-scripts/cups-ssl.m4) |
| 31 | sinclude(config-scripts/cups-pam.m4) |
| 32 | sinclude(config-scripts/cups-largefile.m4) |
| 33 | sinclude(config-scripts/cups-dnssd.m4) |
| 34 | sinclude(config-scripts/cups-startup.m4) |
| 35 | sinclude(config-scripts/cups-defaults.m4) |
| 36 | |
| 37 | INSTALL_LANGUAGES="" |
| 38 | UNINSTALL_LANGUAGES="" |
| 39 | LANGFILES="" |
| 40 | if test "x$LANGUAGES" != x; then |
| 41 | INSTALL_LANGUAGES="install-languages" |
| 42 | UNINSTALL_LANGUAGES="uninstall-languages" |
| 43 | for lang in $LANGUAGES; do |
| 44 | if test -f doc/$lang/index.html.in; then |
| 45 | LANGFILES="$LANGFILES doc/$lang/index.html" |
| 46 | fi |
| 47 | |
| 48 | if test -f templates/$lang/header.tmpl.in; then |
| 49 | LANGFILES="$LANGFILES templates/$lang/header.tmpl" |
| 50 | fi |
| 51 | done |
| 52 | elif test "x$CUPS_BUNDLEDIR" != x; then |
| 53 | INSTALL_LANGUAGES="install-langbundle" |
| 54 | UNINSTALL_LANGUAGES="uninstall-langbundle" |
| 55 | fi |
| 56 | |
| 57 | AC_SUBST(INSTALL_LANGUAGES) |
| 58 | AC_SUBST(UNINSTALL_LANGUAGES) |
| 59 | |
| 60 | AC_OUTPUT(Makedefs |
| 61 | conf/cups-files.conf |
| 62 | conf/cupsd.conf |
| 63 | conf/mime.convs |
| 64 | conf/pam.std |
| 65 | conf/snmp.conf |
| 66 | cups-config |
| 67 | desktop/cups.desktop |
| 68 | doc/index.html |
| 69 | scheduler/cups-lpd.xinetd |
| 70 | scheduler/cups.sh |
| 71 | scheduler/cups.xml |
| 72 | scheduler/org.cups.cups-lpd.plist |
| 73 | scheduler/org.cups.cups-lpdAT.service |
| 74 | scheduler/org.cups.cupsd.path |
| 75 | scheduler/org.cups.cupsd.service |
| 76 | scheduler/org.cups.cupsd.socket |
| 77 | templates/header.tmpl |
| 78 | packaging/cups.list |
| 79 | $LANGFILES) |
| 80 | |
| 81 | chmod +x cups-config |