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