1 # $Id: LUNA,v 8.11 2002/03/21 23:59:25 gshapiro Exp $
3 dnl DO NOT EDIT THIS FILE.
4 dnl Place personal settings in devtools/Site/site.config.m4
6 define(`confBEFORE', `dirent.h stddef.h stdlib.h unistd.h limits.h time.h sys/time.h')
7 define(`confMAPDEF', `-DNDBM')
8 define(`confMBINDIR', `/usr/lib')
9 define(`confSBINDIR', `/usr/etc')
10 define(`confUBINDIR', `/usr/ucb')
11 define(`confEBINDIR', `/usr/lib')
14 echo "#include <sys/dir.h>" > dirent.h
15 echo "#define dirent direct" >> dirent.h
17 stddef.h unistd.h limits.h:
18 if [ -f /usr/include/$@ ]; then \
19 ln -s /usr/include/$@ .; \
25 if [ -f /usr/include/stdlib.h ]; then \
26 ln -s /usr/include/stdlib.h .; \
28 if [ -f /usr/include/libc.h ]; then \
29 ln -s /usr/include/libc.h stdlib.h; \
31 cp /dev/null stdlib.h; \
37 echo "#ifndef _LOCAL_TIME_H_" > time.h
38 echo "#define _LOCAL_TIME_H_" >> time.h
39 cat /usr/include/time.h >> time.h
40 echo "#endif" >> time.h
44 echo "#ifndef _LOCAL_SYS_TIME_H_" > sys/time.h
45 echo "#define _LOCAL_SYS_TIME_H_" >> sys/time.h
46 cat /usr/include/sys/time.h >> sys/time.h
47 echo "#endif" >> sys/time.h