1994-11-25 19:13:56 +00:00
|
|
|
#!/bin/sh -
|
|
|
|
#
|
2000-01-22 18:03:39 +00:00
|
|
|
# pre-configure script for Elm port to FreeBSD
|
1999-08-30 12:09:14 +00:00
|
|
|
# $FreeBSD$
|
1994-11-25 19:13:56 +00:00
|
|
|
|
|
|
|
PortsDir=$PORTSDIR
|
2000-01-22 18:03:39 +00:00
|
|
|
CurDir=$CURDIR
|
|
|
|
WrkSrc=$WRKSRC
|
1994-11-25 19:13:56 +00:00
|
|
|
|
2000-01-22 18:03:39 +00:00
|
|
|
has_inttypes=undef
|
|
|
|
[ -r /usr/include/inttypes.h ] && has_inttypes=define
|
|
|
|
|
|
|
|
cat > ${WrkSrc}/config.sh << EOF
|
1994-11-25 19:13:56 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# config.sh
|
|
|
|
# This file was produced by running the Configure script.
|
|
|
|
|
2000-01-22 18:03:39 +00:00
|
|
|
Log='\$Log'
|
|
|
|
Header='\$Header'
|
1996-12-23 06:08:21 +00:00
|
|
|
bin="${PREFIX}/bin"
|
1994-11-25 19:13:56 +00:00
|
|
|
contains='grep'
|
|
|
|
cppstdin='/usr/bin/cpp'
|
|
|
|
cppminus=''
|
|
|
|
d_getopt='define'
|
|
|
|
d_memcpy='define'
|
|
|
|
d_symlink='define'
|
|
|
|
d_whoami='undef'
|
1999-04-07 18:28:40 +00:00
|
|
|
d_poll='define'
|
2000-01-22 13:34:04 +00:00
|
|
|
d_select='define'
|
1999-09-08 18:10:47 +00:00
|
|
|
d_mmap='define'
|
2000-01-22 13:34:04 +00:00
|
|
|
d_socket='define'
|
|
|
|
d_netdb='define'
|
|
|
|
d_netinet_in='define'
|
2000-01-22 18:03:39 +00:00
|
|
|
d_inttypes='$has_inttypes'
|
1996-12-23 06:08:21 +00:00
|
|
|
d_nointtypes='undef'
|
1994-11-25 19:13:56 +00:00
|
|
|
n='-n'
|
|
|
|
c=''
|
|
|
|
orderlib='false'
|
1999-09-08 18:10:47 +00:00
|
|
|
ranlib=':'
|
1994-11-25 19:13:56 +00:00
|
|
|
package='elm2'
|
1995-09-28 16:41:56 +00:00
|
|
|
pager='builtin++'
|
1994-11-25 19:13:56 +00:00
|
|
|
startsh='#!/bin/sh'
|
|
|
|
define='define'
|
|
|
|
loclist='
|
|
|
|
cat
|
|
|
|
chgrp
|
|
|
|
chmod
|
|
|
|
cp
|
2000-01-22 13:34:04 +00:00
|
|
|
dirname
|
1994-11-25 19:13:56 +00:00
|
|
|
echo
|
|
|
|
expr
|
2000-01-22 13:34:04 +00:00
|
|
|
egrep
|
1994-11-25 19:13:56 +00:00
|
|
|
grep
|
1999-09-08 18:10:47 +00:00
|
|
|
fgrep
|
|
|
|
head
|
1994-11-25 19:13:56 +00:00
|
|
|
ln
|
|
|
|
ls
|
|
|
|
make
|
|
|
|
mv
|
|
|
|
rm
|
|
|
|
sed
|
|
|
|
sleep
|
|
|
|
touch
|
|
|
|
tr
|
1999-09-08 18:10:47 +00:00
|
|
|
cut
|
1994-11-25 19:13:56 +00:00
|
|
|
'
|
|
|
|
expr='/bin/expr'
|
|
|
|
sed='/usr/bin/sed'
|
|
|
|
echo='/bin/echo'
|
|
|
|
cat='/bin/cat'
|
|
|
|
rm='/bin/rm'
|
|
|
|
mv='/bin/mv'
|
|
|
|
cp='/bin/cp'
|
|
|
|
tail=''
|
|
|
|
tr='/usr/bin/tr'
|
|
|
|
sort=''
|
|
|
|
uniq=''
|
|
|
|
grep='/usr/bin/grep'
|
1999-09-08 18:10:47 +00:00
|
|
|
fgrep='/usr/bin/fgrep'
|
|
|
|
head='/usr/bin/head'
|
1994-11-25 19:13:56 +00:00
|
|
|
trylist='
|
|
|
|
Mcc
|
|
|
|
compress
|
|
|
|
cpp
|
|
|
|
date
|
|
|
|
emacs
|
|
|
|
execmail
|
1995-11-19 21:11:57 +00:00
|
|
|
finger
|
2000-01-22 13:34:04 +00:00
|
|
|
gpg
|
1994-11-25 19:13:56 +00:00
|
|
|
ispell
|
|
|
|
line
|
|
|
|
lint
|
|
|
|
lp
|
1999-04-07 18:28:40 +00:00
|
|
|
locale
|
1994-11-25 19:13:56 +00:00
|
|
|
lpr
|
|
|
|
mailx
|
1996-02-26 00:57:32 +00:00
|
|
|
metamail
|
1994-11-25 19:13:56 +00:00
|
|
|
mips
|
|
|
|
more
|
|
|
|
nroff
|
|
|
|
pack
|
|
|
|
pg
|
1995-09-28 16:41:56 +00:00
|
|
|
pgp
|
1994-11-25 19:13:56 +00:00
|
|
|
pmake
|
|
|
|
pr
|
|
|
|
rmail
|
|
|
|
sendmail
|
|
|
|
shar
|
|
|
|
smail
|
|
|
|
submit
|
|
|
|
tar
|
|
|
|
tbl
|
|
|
|
test
|
|
|
|
troff
|
|
|
|
uname
|
|
|
|
uuname
|
|
|
|
vi
|
|
|
|
'
|
1996-10-03 19:08:13 +00:00
|
|
|
test='/bin/test'
|
1994-11-25 19:13:56 +00:00
|
|
|
inews=''
|
1996-12-23 06:08:21 +00:00
|
|
|
ispell="${PREFIX}/bin/ispell"
|
2000-01-22 13:34:04 +00:00
|
|
|
egrep='/usr/bin/egrep'
|
1994-11-25 19:13:56 +00:00
|
|
|
more='/usr/bin/more'
|
|
|
|
pg='pg'
|
|
|
|
Mcc='Mcc'
|
|
|
|
vi='/usr/bin/vi'
|
|
|
|
mailx='mailx'
|
|
|
|
mail=''
|
|
|
|
cpp='/usr/bin/cpp'
|
|
|
|
perl=''
|
1995-05-12 21:47:02 +00:00
|
|
|
emacs='emacs'
|
1994-11-25 19:13:56 +00:00
|
|
|
ls='/bin/ls'
|
|
|
|
rmail='/bin/rmail'
|
|
|
|
sendmail='/usr/sbin/sendmail'
|
|
|
|
shar='/usr/bin/shar'
|
|
|
|
smail='smail'
|
|
|
|
submit=''
|
|
|
|
tbl='/usr/bin/tbl'
|
|
|
|
troff='/usr/bin/troff'
|
|
|
|
nroff='/usr/bin/nroff'
|
|
|
|
uname='/usr/bin/uname'
|
|
|
|
uuname='/usr/bin/uuname'
|
|
|
|
line='line'
|
|
|
|
chgrp='/usr/bin/chgrp'
|
|
|
|
chmod='/bin/chmod'
|
1996-10-03 19:08:13 +00:00
|
|
|
lint='/usr/bin/lint'
|
1994-11-25 19:13:56 +00:00
|
|
|
sleep='/bin/sleep'
|
|
|
|
pr='/usr/bin/pr'
|
|
|
|
tar='/usr/bin/tar'
|
|
|
|
ln='/bin/ln'
|
|
|
|
lpr='/usr/bin/lpr'
|
1995-05-12 21:47:02 +00:00
|
|
|
lp='/usr/bin/lp'
|
1994-11-25 19:13:56 +00:00
|
|
|
touch='/usr/bin/touch'
|
|
|
|
make='/usr/bin/make'
|
|
|
|
date='/bin/date'
|
|
|
|
csh=''
|
|
|
|
pmake='pmake'
|
|
|
|
mips='false'
|
|
|
|
col=''
|
|
|
|
pack='pack'
|
|
|
|
compress='/usr/bin/compress'
|
|
|
|
execmail=''
|
2000-05-24 10:26:11 +00:00
|
|
|
libswanted='sun nls c_s'
|
1996-06-20 22:23:48 +00:00
|
|
|
noaddlib='yes'
|
2000-05-24 10:26:11 +00:00
|
|
|
c_date='Wed May 24 12:12:00 MSD 2000'
|
1994-11-25 19:13:56 +00:00
|
|
|
d_ascii='undef'
|
|
|
|
d_broke_ctype='undef'
|
|
|
|
d_calendar='define'
|
|
|
|
calendar='calendar'
|
|
|
|
d_chown_neg1='define'
|
|
|
|
d_content='undef'
|
|
|
|
d_crypt='define'
|
1996-02-26 00:57:32 +00:00
|
|
|
cryptlib='-lcrypt'
|
1994-11-25 19:13:56 +00:00
|
|
|
d_cuserid='undef'
|
|
|
|
d_disphost='undef'
|
|
|
|
d_domname='define'
|
|
|
|
d_usegetdom='undef'
|
|
|
|
d_errlst='define'
|
|
|
|
d_flock='define'
|
2000-01-22 13:34:04 +00:00
|
|
|
d_dotlock='define'
|
1994-11-25 19:13:56 +00:00
|
|
|
d_fcntlock='undef'
|
|
|
|
has_flock='define'
|
|
|
|
has_fcntl='define'
|
|
|
|
d_ftruncate='define'
|
|
|
|
d_gethname='define'
|
|
|
|
d_douname='undef'
|
|
|
|
d_host_comp='undef'
|
|
|
|
ign_hname='n'
|
|
|
|
d_havetlib='define'
|
|
|
|
termlib='-ltermlib'
|
|
|
|
d_index='undef'
|
|
|
|
d_internet='define'
|
1995-12-19 23:46:18 +00:00
|
|
|
d_ispell='define'
|
1996-12-23 06:08:21 +00:00
|
|
|
ispell_path="${PREFIX}/bin/ispell"
|
1994-11-25 19:13:56 +00:00
|
|
|
ispell_options=''
|
|
|
|
d_locale='define'
|
1995-05-12 21:47:02 +00:00
|
|
|
d_nl_types='define'
|
|
|
|
d_msgcat='define'
|
|
|
|
d_usenls='undef'
|
1994-11-25 19:13:56 +00:00
|
|
|
d_mallocvoid='define'
|
1996-02-23 01:45:05 +00:00
|
|
|
d_mboxedit='define'
|
1996-02-26 00:57:32 +00:00
|
|
|
metamail_path='none'
|
1995-11-19 21:11:57 +00:00
|
|
|
defencoding=''
|
1996-02-26 00:57:32 +00:00
|
|
|
d_8bitmime='define'
|
1995-11-19 21:11:57 +00:00
|
|
|
d_binarymime='undef'
|
1996-10-25 00:31:11 +00:00
|
|
|
d_dsn='define'
|
1999-09-08 18:10:47 +00:00
|
|
|
defcharset='DISPLAY'
|
1996-02-26 00:57:32 +00:00
|
|
|
defdispcharset='ISO-8859-1'
|
1994-11-25 19:13:56 +00:00
|
|
|
d_mmdf='undef'
|
|
|
|
d_newauto='define'
|
|
|
|
d_noaddfrom='define'
|
|
|
|
d_usedomain='undef'
|
|
|
|
d_noxheader='undef'
|
|
|
|
d_pidcheck='define'
|
|
|
|
d_ptem='undef'
|
|
|
|
d_putenv='define'
|
|
|
|
d_remlock='undef'
|
|
|
|
maxattempts='6'
|
2000-01-24 13:57:32 +00:00
|
|
|
d_setgid='define'
|
1994-11-25 19:13:56 +00:00
|
|
|
d_savegrpmboxid='undef'
|
2000-01-24 13:57:32 +00:00
|
|
|
mailermode='2755'
|
1994-11-25 19:13:56 +00:00
|
|
|
d_sigvec='undef'
|
|
|
|
d_sigvectr='undef'
|
|
|
|
d_sigset='undef'
|
|
|
|
d_sighold='undef'
|
|
|
|
d_sigprocmask='define'
|
|
|
|
d_sigblock='undef'
|
1996-12-23 06:08:21 +00:00
|
|
|
d_waitpid='define'
|
1994-11-25 19:13:56 +00:00
|
|
|
d_sigaction='define'
|
|
|
|
d_strcspn='define'
|
|
|
|
d_strspn='define'
|
|
|
|
d_strpbrk='define'
|
|
|
|
d_strerror='define'
|
|
|
|
d_strftime='define'
|
|
|
|
d_strings='undef'
|
|
|
|
d_pwdinsys='undef'
|
|
|
|
strings='/usr/include/string.h'
|
|
|
|
includepath=''
|
|
|
|
d_strstr='define'
|
|
|
|
d_strtok='define'
|
|
|
|
d_subshell='define'
|
|
|
|
d_tempnam='define'
|
|
|
|
tempnamo=''
|
|
|
|
tempnamc=''
|
|
|
|
d_termio='undef'
|
|
|
|
d_termios='define'
|
|
|
|
d_utimbuf='define'
|
|
|
|
d_vfork='define'
|
|
|
|
defbatsub='no subject (file transmission)'
|
|
|
|
defeditor='/usr/bin/vi'
|
|
|
|
editoropts=''
|
2000-01-22 18:03:39 +00:00
|
|
|
hostname=''
|
1994-11-25 19:13:56 +00:00
|
|
|
phostname='hostname'
|
2000-01-22 18:03:39 +00:00
|
|
|
mydomain=''
|
1994-11-25 19:13:56 +00:00
|
|
|
autohostname='define'
|
|
|
|
i_memory='define'
|
|
|
|
i_stdarg='define'
|
|
|
|
i_stdlib='define'
|
|
|
|
i_time='define'
|
|
|
|
i_systime='define'
|
|
|
|
d_systimekernel='undef'
|
|
|
|
i_unistd='define'
|
|
|
|
i_utime='define'
|
|
|
|
i_sysutime='undef'
|
1996-12-23 06:08:21 +00:00
|
|
|
lib="${PREFIX}/lib"
|
1999-04-07 18:28:40 +00:00
|
|
|
libc='/usr/lib/libc.so'
|
1995-09-28 16:41:56 +00:00
|
|
|
linepr='/usr/bin/lp'
|
1994-11-25 19:13:56 +00:00
|
|
|
maildir='/var/mail'
|
|
|
|
mailer='/usr/sbin/sendmail'
|
1999-09-08 18:10:47 +00:00
|
|
|
mailgrp='mail'
|
1996-12-23 06:08:21 +00:00
|
|
|
mansrc="${PREFIX}/man/man1"
|
|
|
|
catmansrc="${PREFIX}/man/cat1"
|
1994-11-25 19:13:56 +00:00
|
|
|
manext='.1'
|
|
|
|
manext_choice='.1'
|
|
|
|
catmanext='.1'
|
|
|
|
catmanext_choice='.1'
|
|
|
|
packed='n'
|
|
|
|
manroff='/usr/bin/nroff'
|
|
|
|
manroffopts=''
|
|
|
|
suffix=''
|
|
|
|
packer=''
|
2000-01-24 13:57:32 +00:00
|
|
|
optimize="\$CFLAGS"
|
1994-11-25 19:13:56 +00:00
|
|
|
ccflags=''
|
|
|
|
cppflags=''
|
1996-01-12 01:54:50 +00:00
|
|
|
ldflags='-s'
|
1994-11-25 19:13:56 +00:00
|
|
|
cc='cc'
|
|
|
|
libs=''
|
|
|
|
nametype='bsd'
|
|
|
|
d_passnames='define'
|
|
|
|
d_berknames='define'
|
|
|
|
d_usgnames='undef'
|
1999-09-08 18:10:47 +00:00
|
|
|
# passcat=''
|
1994-11-25 19:13:56 +00:00
|
|
|
rmttape='unknown-remote-tape-unit'
|
|
|
|
roff='/usr/bin/troff'
|
|
|
|
roffopts=''
|
|
|
|
sigtype='void'
|
|
|
|
spitshell='cat'
|
|
|
|
shsharp='true'
|
|
|
|
sharpbang='#!'
|
|
|
|
tmpdir='/tmp'
|
|
|
|
tzname_handling='TM_ZONE'
|
|
|
|
use_pmake='n'
|
|
|
|
xencf=''
|
|
|
|
xenlf=''
|
|
|
|
d_xenix='undef'
|
|
|
|
d_bsd='define'
|
1999-09-08 18:10:47 +00:00
|
|
|
locale='locale'
|
1995-12-19 23:46:18 +00:00
|
|
|
d_pgp='define'
|
1996-12-23 06:08:21 +00:00
|
|
|
pgp="${PREFIX}/bin/pgp"
|
2000-01-22 13:34:04 +00:00
|
|
|
pgp2_path="${PREFIX}/bin/pgp"
|
|
|
|
pgp5_dir='none'
|
|
|
|
gpg_path='none'
|
|
|
|
special_path='${PREFIX}/bin'
|
2000-05-24 10:26:11 +00:00
|
|
|
locale_dir='/usr/share/locale'
|
1994-11-25 19:13:56 +00:00
|
|
|
CONFIG=true
|
|
|
|
EOF
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
# END
|
|
|
|
|