blob: c2ba88382cba36abd3df9da51d86bbaa5bba6f3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
#!/bin/sh
# $FreeBSD$
if [ -f ${WRKDIR}/Makefile.inc ]; then
exit
fi
tempfile=`/usr/bin/mktemp -t checklist`
if [ "${BATCH}" ]; then
echo "${SEL_OPTIONS}" > $tempfile
else
if [ -f "${OPTION_FILE}" ]; then
for i in `${CAT} ${OPTION_FILE}`
do
export $i
done
fi
/usr/bin/dialog --title "configuration options" --clear --checklist "\n\
Please select desired options:" -1 -1 16 \
BCMATH "bc style precision math functions" ${WITH_BCMATH:-OFF} \
BZIP2 "bzip2 library support" ${WITH_BZIP2:-OFF} \
CALENDAR "calendar conversion support" ${WITH_CALENDAR:-OFF} \
CDB "cdb database support (dba)" ${WITH_CDB:-OFF} \
CRACK "crack support" ${WITH_CRACK:-OFF} \
CTYPE "ctype functions" ${WITH_CTYPE:-OFF} \
CURL "CURL support" ${WITH_CURL:-OFF} \
DBASE "dBase library support" ${WITH_DBASE:-OFF} \
DBX "dbx support" ${WITH_DBX:-OFF} \
DOMXML "DOM support" ${WITH_DOMXML:-OFF} \
DOMXSLT "DOM XSLT and EXSLT support (implies DOMXML)" ${WITH_DOMXSLT:-OFF} \
EXIF "EXIF support" ${WITH_EXIF:-OFF} \
FILEPRO "filePro support" ${WITH_FILEPRO:-OFF} \
FRIBIDI "FriBidi support" ${WITH_FRIBIDI:-OFF} \
FTP "FTP support" ${WITH_FTP:-OFF} \
GD "GD library support" ${WITH_GD:-OFF} \
GDBM "GDBM database support (dba)" ${WITH_GDBM:-OFF} \
GETTEXT "gettext library support" ${WITH_GETTEXT:-OFF} \
GMP "GNU MP support" ${WITH_GMP:-OFF} \
HYPERWAVE "Hyperwave support" ${WITH_HYPERWAVE:-OFF} \
ICONV "iconv support" ${WITH_ICONV:-OFF} \
IMAP "IMAP support" ${WITH_IMAP:-OFF} \
INIFILE "INI file support (dba)" ${WITH_INIFILE:-OFF} \
INTERBASE "Interbase 6 database support (Firebird)" ${WITH_INTERBASE:-OFF} \
MBSTRING "multibyte string support" ${WITH_MBSTRING:-OFF} \
MCAL "Modular Calendar Access Library support" ${WITH_MCAL:-OFF} \
MCVE "MCVE support" ${WITH_MCVE:-OFF} \
MCRYPT "Encryption support" ${WITH_MCRYPT:-OFF} \
MHASH "Crypto-hashing support" ${WITH_MHASH:-OFF} \
MIME "mime_magic support" ${WITH_MIME:-OFF} \
MING "ming shockwave flash support" ${WITH_MING:-OFF} \
MYSQL "MySQL database support" ${WITH_MYSQL:-OFF} \
NCURSES "ncurses support (CLI only)" ${WITH_NCURSES:-OFF} \
OPENLDAP "OpenLDAP support" ${WITH_OPENLDAP:-OFF} \
OPENSSL "OpenSSL support" ${WITH_OPENSSL:-OFF} \
ORACLE "Oracle support" ${WITH_ORACLE:-OFF} \
PCNTL "pcntl support (CLI only)" ${WITH_PCNTL:-OFF} \
PCRE "Perl Compatible Regular Expression support" ${WITH_PCRE:-OFF} \
PDFLIB "PDFlib support" ${WITH_PDFLIB:-OFF} \
POSIX "POSIX-like functions" ${WITH_POSIX:-OFF} \
POSTGRESQL "PostgreSQL database support" ${WITH_POSTGRESQL:-OFF} \
PSPELL "pspell support" ${WITH_PSPELL:-OFF} \
READLINE "readline support (CLI only)" ${WITH_READLINE:-OFF} \
RECODE "recode support" ${WITH_RECODE:-OFF} \
SESSION "session support" ${WITH_SESSION:-OFF} \
SHMOP "shmop support" ${WITH_SHMOP:-OFF} \
SNMP "SNMP support" ${WITH_SNMP:-OFF} \
SOCKETS "sockets support" ${WITH_SOCKETS:-OFF} \
SYBASEDB "Sybase/MS-SQL database support (DB-lib)" ${WITH_SYBASEDB:-OFF} \
SYBASECT "Sybase/MS-SQL database support (CT-lib)" ${WITH_SYBASECT:-OFF} \
SYSVSEM "System V semaphore support" ${WITH_SYSVSEM:-OFF} \
SYSVSHM "System V shared memory support" ${WITH_SYSVSHM:-OFF} \
TOKENIZER "tokenizer support" ${WITH_TOKENIZER:-OFF} \
UNIXODBC "unixODBC support" ${WITH_UNIXODBC:-OFF} \
WDDX "WDDX support" ${WITH_WDDX:-OFF} \
XML "XML support" ${WITH_XML:-OFF} \
XMLRPC "XMLRPC-EPI support" ${WITH_XMLRPC:-OFF} \
XSLT "XSLT Sablotron support" ${WITH_XSLT:-OFF} \
YAZ "YAZ support (ANSI/NISO Z39.50)" ${WITH_YAZ:-OFF} \
YP "YP/NIS support" ${WITH_YP:-OFF} \
ZIP "ZIP support" ${WITH_ZIP:-OFF} \
ZLIB "ZLIB support" ${WITH_ZLIB:-OFF} \
2> $tempfile
fi
retval=$?
if [ -s $tempfile ]; then
set `${CAT} $tempfile | ${SED} 's|"||g'`
fi
rm -f $tempfile
case $retval in
0) if [ -z "$*" ]; then
echo "Nothing selected"
fi
;;
1) echo "Cancel pressed."
exit 1
;;
esac
exec > ${WRKDIR}/Makefile.inc
while [ $1 ]; do
echo "WITH_$1=yes";
shift
done
|