--- sql/mysql/configure 2008/07/03 07:24:39 1.30 +++ sql/mysql/configure 2009/04/08 11:22:21 1.31 @@ -8805,6 +8805,15 @@ subdirs="$subdirs libltdl" +case "$host" in + *-freebsd4*) + +cat >>confdefs.h <<\_ACEOF +#define FREEBSD4 +_ACEOF + +esac +