[Mimedefang] libmilter.a and mfapi.h locations

Joe Nall joe at nall.com
Fri Oct 4 15:04:01 EDT 2002

I'm working on setting up mimedefang on OpenBSD 3.2-beta. I really
don't want to copy libmilter.a and mfapi.h out of the source tree so I
used the following configure command
env	MINCLUDE='/usr/src/gnu/usr.sbin/sendmail/include/libmilter' \
	LIBMILTER='/usr/src/gnu/usr.sbin/sendmail/libmilter/obj' \
	./configure --sysconfdir=/etc --with-confsubdir=mimedefang

The configure seems to work fine, but the subsequent make fails:
gcc -g -O2 -pthread -D_POSIX_PTHREAD_SEMANTICS  
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\"  -DRM=\"/bin/rm\"  
-DVERSION=\"2.21\"  -DSPOOLDIR=\"/var/spool/MIMEDefang\"  
-DQDIR=\"/var/spool/MIMEDefang\"  -DCONFDIR=\"/etc/mimedefang\" 
-I/usr/src/gnu/usr.sbin/sendmail -c -o mimedefang.o mimedefang.c
mimedefang.c:61: libmilter/mfapi.h: No such file or directory
*** Error code 1

because there is no -I or -L for the libmilter path. Is there a better 
way to
specify the location of libmilter.a and mfapi.h?


More information about the MIMEDefang mailing list